It is really hard to know what is causing your pain. I suggest calling your surgeon's service. Where did you have your surgery? Obviously some pain after surgery is too be expected. But, if you have any other symptoms – fever, shortness of breath, difficulty breathing, you should call your doctor or, depending on the severity, go to the ER. Always call if in doubt.