Is it all in my head?

Have you ever stressed so much about being pregnant that you make yourself believe you are? I think I might be going through that, only because I never had sex before but did go through an incident. But I tell myself that I’m not and I’ve had my period and it’s come on time and lasted it’s normal length and everything. But I feel like i’m so obsessed with everythig that happens to my body that I freak out and believe I have every symptom. I dont know what to do.