It's called an abortion and birth control.
If this is her reaction than she's not ready to be a parent.I hope she gets help.
I hope she has a solid circle of friends that are willing to stick with her. If she made it this far into a relationship, I'm sure her friends may have tried to warn her or talk about her behavior...but if she is too far gone in love, all of the friend's words will be ignored and she will continue the behavior.