Pelvic pain

So I've been having small, few and far between, left sided pelvic pains. Sharp and short. Didn't think anything of it. Been nauseated at night a few times. I just had sex for the first time in about 2 weeks since this all started, and now the pelvic pain is constant and I have to keep my knees to my chest for it to be bearable. I also spotted a tiny bit, but it stopped almost immediately. Anyone have any insight?