What can you do when your foot falls asleep?

Numbness. If the numbness comes and goes....Then it is most likely requiring only a change in posture or position... If the numbness comes and stays...See your physician asap."".
Move. I would change positions and try walking for a short distance until the pain subsides.