Don't do anything on your own, go to a physiotherapist. You can start doing exercises for the wrong group of muscles and other muscles will then start to compensate leading to more serious problems. "neck pain" is not specific enough for any recommendations. The best non-specific advice is to change your sitting position frequently and take breaks.