You can go to your state's code section (do you know which sections they are [Penal code etc]) through the site.
You can request a medical test to find out if the girl is really pregnant. She can refuse your request.
You can request a DNA test to find out if the fetus is your child. I do not know how old the fetus has to be before they can do that. If the results of the test show that you are NOT the father, then it is up to you whether you want to help the girl anyway, out of friendship, but you do not have to.
If the DNA shows that you are the father, then it does not matter what you want, you will be supporting the woman's decision for the life of the child.
To make this "go away" you could try to go live in some other community, with a slight change in your name, do not file any change of address with anyone, sever all relations with friends and family. You might get away with it, but there are ways to track you down.
Meanwhile it is the woman's body. You cannot force her to have an abortion. She has to decide whether or not to do that, provided you are in a jurisdiction where an abortion is legal ... and note that when it is legal, it is only legal up to a certain legth of time after the baby was started ... you can't wait until the last minute.
Pregnancy does things to a woman ... she might have trouble deciding what to do.
The best way to avoid this kind of mess in the first place is to abstain from unsafe sex.