Plan B Protection

Savanah
If you take the Plan B pill after having sex and you have sex the same day will it prevent the possible pregnancy from both times or would you have to take another pill?