Should I take plan b right after sex??

Tiana

I was just wondering cause I know it’s like a morning after pill but do I have to wait til the morning??? Can I just take it afterwards?