Ahhhhhh

I had unprotected sex a few weeks ago. And I’m scared I might be pregnant. I took the morning after pill but my period still hasn’t come. Should I take a test