Selena Gomez is opening up about how body-shaming affected her amid her lupus diagnosis.

Gomez said in a new interview that she struggled to cope with people saying she had gained weight while receiving treatment for the disease.

"I experienced [body-shaming] with my weight fluctuation for the first time," Gomez said on the "Giving Back Generation" podcast. "I have lupus and deal with kidney issues and high blood pressure, so I deal with a lot of health issues, and for me that’s when I really started noticing more of the body image stuff."

SELENA GOMEZ DEFENDS HAILEY BALDWIN, DEBUTS NEW SINGLE 'LOOK AT HER NOW'

Gomez noted that there are many factors that contribute to her fluctuating weight.

"It’s the medication I have to take for the rest of my life — it depends on even the month, to be honest. So for me, I really noticed when people started attacking me for that," she said. "In reality, that’s just my truth. I fluctuate. It depends what’s happening in my life."

Gomez received a lot of online criticism during her publicized health struggles, which she notes “got to me big time” and “really messed me up for a bit.”

SELENA GOMEZ EXPLAINS INCLUDING 'IN 2 MONTHS, YOU REPLACED US' LYRIC IN 'LOSE YOU TO LOVE ME' SINGLE

Gomez’s health struggles have caused the singer to shy away from social media.

CLICK HERE TO GET THE FOX NEWS APP

"I'm very happy with living my life and being present. Because that's it. Similar to me posting a photo and walking away; for me that's it. I will do a red carpet, I will do whatever; I don't need to see it; I participated; I felt wonderful and that's where the extent of it is,” Gomez explained.

“I don’t care to expose myself to everyone and hear what they have to say about it," she continued.