Numb legs

Does anyone ever get numb legs when they wake up? It just started this past month and it happens almost on a daily .. Idk how to prevent or what to do.. Getting up today almost made me snap my ankle ... It's still swollen and getting bruised, I just don't want it to become more of a nuisance