Pregnancy Scare

So my bf and I had unprotected sex a week  ago on Friday and I really want to take a test to see  if I'm pregnant or not. So if I take a test now will it give me my answer, what should I do?