The situation involves more than just you. There are now three lives to think about.
She needs your support now more than ever. She may be carrying the baby, but you are BOTH parents, and regardless of your relationship in the future, that baby needs you, too. Even if your relationship with her doesn’t work out, you are the father of the baby forever.
Not only with each other, but prepare to talk with parents and others close to the situation. Hiding the news from people who can genuinely help you only increases the stress. Talking about it helps everything.
Get accurate information on each of your options and seek wise counsel so you can make the best decision for both of you. Get information from more than one source, and do not take opinions as facts.
It’s normal to have feelings of anger, frustration, and fear, but make sure she knows she is not alone.