Well, to begin with, it's good you stopped the weed using. What you have often occurs as you are trying to go to sleep or when you wake up, which obviously limits your sleep time. They happen most commonly in the back of your calf.
If this is what you are talking about, then you most likely have what is known as simply leg cramps, only at night. The following may be a reason why you have it:
* Muscle overexertion
* Prolonged sitting
* Decreased potassium levels
* Neuromuscular disorders, such as Parkinson's disease
* Certain medications, such as albuterol, niacin, diuretics, and some calcium channel blockers and antipsychotic medications
* Alcohol use
For help, walk on the leg(s) that hurt, massage the muscles in your legs and calfs, take a hot bath and apply a cool pack to your leg muscles. You want to drink plenty of fluids during the dayand stretch your leg muscles every day before you go to bed and when you wake up, for 2 to 5 minute intervals.
The following perscriptions can help, if you ask your doctor:
Night cramps often get confused with restless leg syndrome, where your legs feel like you have a million bugs in and on them. It requires different treatment that you should talk to your doctor about.
You may also want to research common muscle pain, Peripheral arterial disease (PAD) and circulation problems.
Good luck! Feel better soon.