How does morning after pills work?

Thein
Just curious if it would really work