Can cervical spine, lumbar spine, and curvature be treated without surgery?

Is it possible to treat cervical and lumbar spine curvature without surgery? I checked my cervical deformity years ago and have not been treated, but now I often feel soreness in my lumbar and cervical spine, how can I treat it? How long does it take? Young patients are often caused by poor life or work posture, such as long hours of low head work, long-term driving and other cervical and lumbar vertebrae curve changes, triggering neck and lumbar muscle strain resulting in pain. First of all, we need to improve posture, reduce the time of low head, long-term adherence to functional exercises, such as cervical and lumbar spine exercises, can get good results, such as the development of the cervical spine, will lead to cervical spondylosis and lumbar disc herniation, and so on.