Plan b HELP

Would plan b work if i have unprotected sex on my ovulation day??

I actually had sex yesterday and i think im ovulating today and I know sperm can live up to around 72 hours in there so im kinda really nervous. Is plan b effective in this situation? Please help.