bad anxiety/overthinking. no negative comments. just need help

Basically, on like day 2or3 of my period this month I touched my boyfriends dick. I did toss him off but it was for like 1 min or 2, he didn't cum and he says he didn't precum and I didn't even see anything on my hand. The problem is I went to the toilet afterwards and obvs had to touch myself coz I was sorting out my menstural stuff (tampons pads and whatever) so I was obvs touching myself. Is there a risk of pregnancy? I didn't see anything on my hand but have suffered with bad anxiety so now I'm overthinking. Should I even be worried? All answers are very much appriciated💕