Is clomid and ferama prescription only?

I know I dont ovulate after tracking for several months opk and temp...I have serious painful cramps and cysts on my ovaries but doctor wont do anything till I've been trying a year!

It's been 10 months... my partner gets deployed in 3 months for a year so I cant wait for referrals. ..can I buy it from online?