Am I pregnant?

Me and my boyfriend had unprotected sex and he came inside me. I then started my period two days later but it wasn’t my normally period and only lasted 4 days. We then had sex again on the 9th of Jan when my fertile week starts and he didn’t pull out. Should I take a test?