Firstly, you need to calm down, and think this through. How do you feel about your girlfriend? Do you see a relationship in the future? Are you wanting to stay with her if she has a baby? There's a lot of responsibility when it comes to parenting. You need to take all these things into consideration. But mostly, what you need to do is discuss this with your girlfriend. Find out how she feels about the situation. And then you can discuss what you want to do. But if you don't want to stay with her, or aren't ready for parenthood, you need to tell her straight away. It wouldn't be fair for her to rely on you if that was the case.
You need to think about yourself, and each other. Your families, parents, friends... all these people, think about them secondly. It's not their decision, it's yours. So try not to think about what they think too much.
I hope your okay.
X