How to fix neck pain?

I seem to get neck pain quite often (once a week usually) and I think it's either from staring at a screen too long, workouts or bad posture... I don't really know but anyway I'm wondering if anyone's got some like quick tips to help relieve it
How to fix neck pain?
Post Opinion