Welcome to HCM
Thanks for the concern
This problem of yours is related to your posture. As you need to work on computer for long time sitting in same posture ,neck down to see at the monitor for long time.
Try these for relief:
See that your chair is supporting your back and neck while working.
take yoyr eyes off every 15 mins and look around.
stretch your legs and hands every half an hour.
Rotate your necck side and up and down (neck exercises)
stand up and take five mins walk in the office every hour
small exercises like rotation of ankle and wrist, strech outs every hour will help
try to keep your back straight supported by a good seating arrangement.
You need to follow these routinely otherwise you will land up with cervical spondilytis in long run.
If still pain persists can consult an orthopedician for needful opinion and can go for physiotherapy
Hope i have tried to answer your query