Twitchy leg

When I lie down, my left calf twitches and my foot spasms up. It's keeping me awake. Anyone had anything similar and have any suggestions?