Muscle spasms can persist as long as the underlying cause is present.
So find out the cause and correct it. Is it bad body mechanics? Obesity? Physical deconditioning? Herniated disc? Inflammatory arthritis? If you can't figure this out, see your doctor.
Would you like to video or text chat with me?