Plan b

I had unprotected sex for the first time and he pulled out before climaxing but am still nervous. Do I need to take an emergency contraceptive, or am I okay?