Ovarian cysts

Recently hospitalised for unbearable stomach pain and fever/chills. The doctor found that I have two ovarian cysts but is yet to confirm if its pcos. Was just wondering if anyone else has had a similar experience and might have any advice on how to help relieve/prevent it?