I'm very worried...

Can I get pregnant if I had precum in my fingers? I think it was dry, anyway I touched myself. I've been super anxious and it's been 31 days since my last period. Yesterday I bought a pregnancy test and it was negative. However, I've read that it may be too soon, specially bc I'm irregular. I'm so stressed.