Your symptoms are consistent with postural neck pain (mechanical), commonly due to forward neck posture and muscle imbalance. It is safe to manage flare-ups without muscle relaxants …paracetamol, warm compress, and topical gel are reasonable for short-term relief.
Next Steps
Focus on posture correction + targeted exercises (chin tuck ,scapular retraction, wall angels, and pectoralis stretch exercises)
Modify gym-avoid heavy lifting initially, especially overhead weights, and progress gradually with proper posture
Ergonomic correction -screen at eye level and avoid prolonged neck flexion
Health Tips
Muscle relaxants are not required long-term; use only if severe spasm
Do daily exercises
If there is any radiating arm pain, numbness, weakness, hand clumsiness, or balance issues it will need quick further evaluation