Pregnancy scare

I had sex with my ex about a month ago..I got my period that night my problem is that my period is now late and when we were having sex the condom came off inside and we don’t know when! Should I be taking a pregnancy test? Or am I being paranoid?