My friend is having severe leg and back çramps and spasms what shoud we do?

See a dr. asap. Without a thorough history and exam, no telling why the cramps are occurring or reoccurring. I would not hesitate to see a dr. Or get to an emergency department asap, at least to allay any doubts and get some sort of answer to what is going on.