(CNN) -- Changing to a new antidepressant caused Ariel Winter to lose weight, the "Modern Family" actress said.
It was several things Winter touched on on Tuesday during an Instagram Stories question-and-answer session.
"The change in medication instantly made me drop all of the weight I couldn't lose before by just giving me back a metabolism," Winter wrote in response to a submitted question. "That was very unexpected."
Winter, 21, said she had been on antidepressants for years and had learned to accept the weight gain that was a side effect of the medication. But she grew tired of the "eh" feeling associated with the drug, which she didn't name, so she started the search for something new.
"So I started the process again and was able to find a great combination of medication that works for me," she wrote.
Winter also answered questions about her mental health, saying that she was "doing pretty good" and that seeing a therapist was nothing to be ashamed of.
"I'm hoping the discussions will keep us progressing in the right direction with mental health check ups," she said.
She also raved about getting breast reduction surgery, giving it a 10 out of 10 recommendation and saying it feels nice now that her back doesn't hurt any more.
For years Winter has battled body shaming internet trolls. In 2015, she posted a swimsuit photo with two of her nieces that triggered a flood of lewd and disparaging comments.
Her response to that included a photo of the back of a woman's legs marked with labels about the meaning some people are inclined to read into the length of a woman's hem.
"The height of a girl's skirt or whatever she is wearing for that matter, does not imply what she is asking for. It sickens me to think at 17 years old, a photo of myself with my nieces is suggesting that I'm 'asking for it,' " Winter wrote.
Overall, Winter sounded pleased with how things turned out after switching medications, but there is one thing she misses.
"While I feel better mentally with the change, and it's nice to work out and have your body actually respond, but I want to gain a few pounds of muscle and get healthier," she wrote. "Also want my butt back."
™ & © 2019 Cable News Network, Inc., a Time Warner Company. All rights reserved.