Unprotected sex and depo

Does anyone have any answers because I am on depo major cramping and pregnancy symptoms and I had sex unprotected for a while now how should I test?