Plan b?

How long do I have after sex to take the plan b?