Needing some clarification..

So if my boyfriend came inside of me and I took plan b right after, when would be a safe time to have sex again? Like should I wait a couple weeks or days?