Help??

I’ve been TTC for a year now. My OBGYN is saying that I’m not ovulation and my periods aren’t regular. Tried provera last month and had my period for about 12 days. I’ve been noticing some spotting and creamy discharge and I’ve never had that happen before and wanted to see what is recommended that I should do. Google told me to take a pregnancy test or that it could be that I’ll be getting my period in two weeks. I’m so confused don’t know what to do.