How to get rid of/prevent ovarian cysts?

Tenasia

I have been getting ovarian cysts ever since I was in high school. They do not cause any major problems with me but are extremely annoying with the little aching and cause bloating.

They happen in the middle of my cycle and last anywhere from 3 days to a week. Is there anything I can do or stop doing to avoid getting these? I was on the pill, but I didn’t care for the side effects of it (moody ASF, weight gain)