Emergency Contraception

Why is plan b more effective the sooner you take it?