Sharp Pain on Nipple

Im 23 years old, I recently was diagnosed with PCOS and for a week now I've been having sharp pains on my right nipple it comes and goes. The pain is horrible it feels like if someone was biting it. I just got my period yesterday (I'm not regular) i don't know if it because of my period or PCOS? Does anybody else have experience this?