ECP and Period sex

it is my first time to have unprotected sex and it is during my 2nd day of period. But because i am having paranoia, i took an ecp pills 48 hours after. I know I sound uneducated on this but it is true.