Lena Dunham was taken to the hospital Saturday and will undergo surgery for a ruptured ovarian cyst, her spokeswoman said.

The 29-year-old Girls creator and star, who suffers from endometriosis, has been open to the public about the chronic and painful disease in which tissue that normally lines the uterus grows outside the uterus.

Last month, Dunham told her fans on Facebook that she was “going through a rough patch” with her health and would not be “out and about” doing press for the new season of Girls, which aired Feb. 21 on HBO. “So many women with this disease literally don’t have the option of time off and I won’t take it for granted,” she wrote. Wishing you all health & happiness, in whatever form suits you. Back soon.”

Hey Beloved Pals,I just wanted to let you know that, while I am so excited for Girls to return on Feb 21, I won't be… Posted by Lena Dunham on Monday, February 8, 2016

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.