The joint can stiffen or even freeze. When you do try to move the joint and muscles hurt because they have been still for so long. Many things affect how your joints and muscles feel. Pain may be caused by swelling, joint damage, muscle tightness or spasm.