Seeing that you are still very young, start with changing your living habits. Don't sit or lie down all the time playing computer and watching TV. It is helpful to stand up and exercise for about an hour, say that the computer TV is higher and often do the action of raising your head.
However, you said that the physiological curvature of cervical spine has become straight, so I suggest you find some professional places to take some measures. If you are still young after surgery, in case mistakes are likely to affect your life, you can try Chinese medicine conditioning, such as acupoints in Zhongjingtang, guided massage and so on. However, I suggest that you have a physical examination of Chinese medicine first, because general Chinese medicine needs syndrome differentiation and classification in order to recuperate cervical spondylosis. If you go to a place and don't give you an examination, it's definitely not very effective to do some so-called massage directly. Pay attention.