I have a sore neck on the right and left side. I have this very often

When i move my head to the side i get that pulling feeling, which makes me think it's just my muscles?

But when i feel the sides of my neck it feels hard. I don't know if what i'm feeling is muscles or something else... the side of my neck feels sore too