period is late and right ovary hurting?

Cheyenne
My period is about ten days late and I've been having right ovary pain should I take a pregnancy test or could this be something dangerous? I have been sexually active and he did not pull out.