First try stretching before you go to bed.
Stand 2 feet from a wall. Plant your feet fully and flat on the floor. Lean on the wall for 120 seconds with your shoulders. This stretches out and relaxes the muscles on the back of your calves.