HELP ME PLEASE

Had unprotected sex 2 days ago, would the morning after pill work if I took it today?