Could I be pregnant????

I'm 19 and my ex and I didn't exactly have sex. This was back in November. All I had on was underwear and he had nothing on. I "rode" him and it was dark so I couldn't tell if he ejaculated yet. He did when I gave him a bj. But that was it. I heard that you can get pregnant if you have on underwear and he ejaculates down there. I had my period last month and I'm on it now too. I heard that you could still be pregnant if you are having your period regularly. But I have an irregular period. I get about 5-6 periods a year. I never ever ever do stuff like this and I am so ashamed of what I did. I just don't want to be pregnant. Could I be???