I feel like there’s something wrong with me 😢

My boyfriend came in me like everyday this month. We weren’t trying for a baby, but we’d be happy if I ended up pregnant. We just haven’t seen each other for so long so it was just a showing love thing. I had to go to the doctor for something today and the topic of chances of pregnancy came up. I got prescribed something that isn’t good for pregnant women and since I haven’t been using contraception lately the doctor wanted to check and be sure. And it came back negative. I just feel like there’s something wrong and I might not be able to have any one day. I’ve had issues with periods so it’s definitely something I’ve considered and this kinda added to that fear ☹️☹️ I don’t really have anyone else to talk to but I just needed to get it out.