Late period

My period is now 7 days late. But I have been having mild to intense cramps since it was supposed to start. Should I be concerned and take a pregnancy test? My boyfriend and I did have sex a couple days after my last period ended when I wasn’t ovulating but I know that doesn’t really matter.