If I had unprotected sex...

If I had unprotected sex just putting it in a few times here and their just in case could I start my birth control pill as a substitution for contraception? I'm not too worried really but could it work just in case I decide?