More serious risks of general anesthesia include heart attacks, strokes and pneumonia. Your anesthesiologist will discuss these risks with you and ask you if you are allergic to certain medications.