implantation bleeding?

lets say you have unprotected sex during your fertile window or 2 days before and you are pregnant, does implantation bleeding happens a week before your period is due or after?