Has anyone tried Provera to get your period?

Mayra • Married 10 yrs, and trying to conceive
I'm very irregular and doctor had me on this med. The thing is in cramping so much feel like I'm on my proud but actually I'm not. Even this need can't get me to have a period. Ugh. I'm going in for surgery next month.