This problem of muscle pull of calf is common in sports and it also occurs while sleeping due to electrolyte imbalance. To treat this problem, the use of caller is recommended. Because it will not allow the neck to move. The movement in neck can not heal the muscle. Also take muscular pain killers.