Semon and pants vs getting pregnant

Need some advice last night cuddling with the S.O and got cum on my leg worried after I went the bathroom and whipped my self could I get pregnant. I don’t know if any way on my hand :/ scared help please. Had pants on too.