I was wondering what would happen if my friend attempted suicide but survived? What would the doctors do to her?

Offer help. First the doctors would help your friend get stabilized physically. Second your friend would be helped to stabilize emotionally. There are different ways this can happen, so it's impossible to tell you exactly how, but it would depend on your friend's needs and personal resources. If your friend is threatening suicide consider it an emergency. Call 911 or take her to er. Best wishes to you both.