Morning after pill

Can I take the morning after pill (Ellaone) after 6 hours of having unprotected sex or do I have to wait till the next morning?