“Girls” star, director and writer Lena Dunham recently shared a photo of herself wearing a bikini showing off some of her scars from her endometriosis surgery.

According to People, Dunham posed for the photo inside a fitting room at Target. “When the Target swimsuit does a b--ch right, Endo scars & all,” she captioned the photo that has since been deleted.

The HBO actress previously shared some details about the chronic illness in the eighth edition of her newsletter Lenny Letter. “From the first time I got my period, it didn’t feel right. The stomachaches began quickly and were more severe than the mild-irritant cramps seemed to be for the blonde women in pink-hued Midol commercials. Those might as well have been ads for yogurt or the ocean, that’s how little they conveyed my experience of menstruating,” she wrote.

While she was already filming the first season of “Girls,” Dunham had the chance to tell her longtime producer friend Jenni Konner about her condition. The latter introduced the actress to Dr. Harris, who then conducted a laparoscopic surgery on Dunham. The doctor also gave the actress monthly injections that helped minimize the symptoms.

Following the procedure, Dunham admitted that she became more confident of her body and herself in general. “I am strong because of what I’ve dealt with. I am oddly fearless for a wimp with no upper body strength. And I am no longer scared of my body. In fact, I listen to it when it speaks,” she said.

Meanwhile, Dunham also recently expressed her happiness over Instagram’s newest feature, which allows users to block hateful comments on their page. “That’s why I’m so pleased Instagram is taking the lead to help protect their 500 million users from unwanted and abusive comments. Now, when you tap the gear icon on your profile, you’ll find a new comments tool,” she wrote alongside a photo that had the words “More Love” on it.