Become aware of your sleeping position. Wrists that are bent or tucked under your head or pillow can cause nerve compression. Try to train yourself to rest your wrists flat on the mattress. Do not prop your head on your hands. While awake keep your body and wrists in a comfortable position. Keep your posture straight and not bent. Try not the hunch over.