You did not say if you missed a period and if you have regular cycles. You should immediately get a sonogram, both abdominal as well as trans-vaginal to confirm or exclude pregnancy
as well as to know the cause of the pain. You may also need other investigations like blood counts and urinalysis
. Please see a gynecologist for further evaluation and management. Wish you good health.