What is this?

So just the past hour I’ve been getting this on and off pain on my right side kinda located I guess where my ovary would be located. (A little below where my under where starts.) it like comes and goes .. what is it? I’m supposed to start my period in 2-3 days