how does one deal with pain as a result of general anesthesia?

There is no pain due to GA, it could be something else. Consult your doctor.