Please help

Okay so I just told my sister that I lost my virginity and my period is late but I don’t think I’m pregnant because we used a condom and looked if there was a rip or something but there wasn’t so my sister is taking me to get an injection Wednesday but on Tuesday I’m going out with my boyfriend to get a pregnancy test. What will happen if I am pregnant can I still go on the injection?