Pcos and metformin

Sh

Been recently diagnosed with pcos been put on metformin for insulin resistance. I took provera to start my period which has now ended about two or three days ago. I have been having random sharp pains in my lower stomach mainly in my right side. They about two seconds then stop. They come a few times a day randomly. Does this have anything to do with pcos? I will be contacting my doctor eventually but any information would help