I had my period on feb 1. I had spotting for 3/d. And pain on both ovaries for 7 days on and off also lower back pain. Why does my ovaries hurt?

Ovarian cysts. It might be that the period was not actually a period and ovarian cysts might explain the discomfort. This is a good enough reason to consult your ob/gyn and see if you need to be seen for an exam, cultures, and an ultrasound.