Frightened⁉️

Hey guys :) 
I'm Louise, 17 years old (18 next week woo) and I've just joined this app after researching and researching possible pregnancy and all that nutter. I'm freaking out though, help! 
I've been with my boyfriend for 3 years, and Friday night, I just decided to give up my virginity to him, I love him so bad! It was only a quick 2-4 mins of intercourse, bc the pain was so bad but so good at the same time. Now I'm freaking out, he didn't ejaculate in me at all, but however I am aware of the whole precum and what not, so I'm absolutely terrified. My periods are irregular so I have no idea what I can do? I don't even understand cycles and everything. I'm trying to get on the pill but have no idea what to do? Or how to do it? What will work best? And when do I know for sure, I'm not pregnant after that one night? Am I overreacting? Please help xx