In her first interview since finishing a monthlong inpatient treatment for anxiety and stress, country star LeAnn Rimes extolled the virtues of rehab.

"I've been in therapy my whole life," Rimes told the Boston Herald. "I like going. I like being able to have that third-party input and someone to listen that has nothing to do with your life. Everyone has an opinion of how I am and how I should be, and now I'm focusing on how I want to be."

advertisement | advertise on newsday

Criticism of her on social-media sites helped create the stress, she said. "I think it's really hard to deal with Twitter and Facebook and all these social-media outlets," she told the newspaper. "And it's hard to take it day after day of reading and seeing things that someone you don't even know says about you. As much as you said you don't want it to penetrate, it does, because you're human."

Without specifying details, she said, "I have felt like I've had a piece of tape over my mouth the last four years."

The singer endured criticism for beginning a relationship, while married, with actor Eddie Cibrian, a married father of two. The "CSI: Miami" and "Third Watch" cast member left his wife, Brandi Glanville ("Real Housewives of Beverly Hills"), to marry Rimes in 2011.

After the affair became public, Rimes told People magazine, "I did one of the most selfish things that I possibly could do, in hurting someone else. . . . I take responsibility for everything I've done. I hate that people got hurt. But I don't regret the outcome."