Help me

Period is due in 9days and I had unprotected sex will I get the morning after pill or will I be okay ?