Surgery helps but it is mostly not recommended. Surgery may not always be effective and could even expose the spine to possible further damage. Even if in case a surgery is effective, the benefits are usually short lived.
Most doctors often try managing symptoms using a variety of techniques that could result in a temporary but effective outcome.