How to get prego with cyst on your ovaries

Shonna
I was on the depo shot for a while and got on the pill for a while I stop everything 2 years ago found out recently I have cyst on my ovaries they want me to take birth control pills to help heel them but they give me headaches is there anything else I can do to help them and help me get pregnant