Lying on your back, relax your neck by looking upwards and swim using your legs only.
Try to keep them as relaxed as possible. Begin your leg kick from the hips and not the knees.
Keep your legs just above the water without allowing them to fully emerge.
Remember rule number 1: keep your knees below the water!