Pregnancy test

I had unprotected sex around 7-8 times on the 17th of this month and was wondering if I should take a test I’m in the pill and if I should when ?