Troubles?

I had sex with my boyfriend last night but it was my first time without condom... And Im with my last period day... Does I have to take the pill?? What can I do??