Advice please

So I just had sex for the first time in a year and It was amazing. It wasn't really planned... And no condom was used. And I'm not on birth control... He did not come inside me. Lasted about an hour or so. But should I still be worried and take a emergency pill?