Anxiety about getting pregnant

So i’m currently single and hookup with my ex sometimes. We are using condoms and such but I can’t help that ever since we broke up I have horrible anxiety about getting pregnant and it ruining my life. How do I stop this anxiety?! Like even when I date someone else how am i supposed to get over this ?! This is one of the worst things I have anxiety over since i’m a college student and getting pregnant would really ruin my life. I use protection but I still have this anxiety! I just started feeling this way after my anxiety has gotten worse and after a friend of mine had a baby at 19...How do I deal with this ?! And I know some of you are gonna say just don’t have sex but it’s just not realistic in college and when I date someone new I’m going to want to sleep with them.