I would talk to a doctor about that one, and it probably depends on the reason for the surgery, etc. I would be wary, though, since they would be giving you drugs to knock you out, and who knows what can affect an unborn child?
Information on this site is provided for informational purposes only.
It is not meant to substitute for medical advice provided by your physician or other medical professional.
If you have or suspect that you have a medical problem, promptly contact your physician or health care provider.