Helppp!!!

A week before my period was supposed to come I had unprotected sex and he came inside me now my period is late by 5 days I’ve also been experiencing cramping .. could I be pregnant? When should I test ?