Kathmandu-Jennifer Lopez is opening up. In her latest newsletter, the singer looked back on a panic attack that taught her to rethink her approach to mental health and self-care.

“There was a time in my life where I used to sleep 3 to 5 hours a night. I’d be on set all day and in the studio all night and doing junkets and filming videos on the weekends,” she wrote according to People in On the JLo. “I was in my late 20s and I thought I was invincible. Until one day, I was sitting in a trailer, and all the work and the stress it brought with it, coupled with not enough sleep to recuperate mentally, caught up with me.”