To dream that you are having an operation suggests that you need to get something out of your system or cut it out of your life. Perhaps you need to let go of something or change your habits.
To dream that you are operating on someone indicates that you are facing some deep issues or dealing with some repressed thoughts.
To dream of a military operation suggests that you need to approach some issue or situation with discipline, precision and planning. Do not rush through your decision.