The morning-after pill is essentially a slightly higher dose of what's contained in regular birth control pills. It works to prevent ovulation or fertilzation just like the regular pills do.

Emergency contraception - Wikipedia, the free encyclopedia
Morning-after pill: Emergency birth control - MayoClinic.com