Surgery is invasive but ultimately meant to heal. In a dream, it signifies that a major, perhaps painful, intervention is needed in your life.
This could mean cutting out a toxic relationship, drastically changing a career path, or undergoing deep psychological healing. The dream suggests the process will be difficult but necessary for your survival and growth.