Sex newbie

I'm 19 and i've only been having sex for a month or so, so I'm still trying to figure out what works best for me and my partner. Last night while having sex, it felt like I was peeing at some point and I got really worried that I was and held back. Does anyone else experience this? Am I just leading up to orgasm?