Could I be pregnant/still get my implant?

Yesterday I had unprotected sex with my boyfriend, on the first day of my period. (It wasn't too messy, and we are comfortable enough with each other to deal with it). He did pull out, but could I still be pregnant? Also, I'm supposed to be getting my implant in the next 3 days, if I somehow was pregnant, would getting my implant mess everything up? I'm very confused, thank you in advance.