Pill to implant

Can you have sex straight after the implant is put in if you’ve already been taking the progesterone only pill normally before?

Are you protected straight away?