I had sex 2 weeks ago and he finished in me

I had 2 weeks ago and he finished in me. I had cramps under stomach...: should I test?