Period/ pregnancy

In March I was on my period twice. On the 9th and on 26th and I had sex on the 13th of April and I’m extremely worried because I have come on my period yet is it because I used unprotected sex or was it because I was on my period twice last month?