Get an EEG done, during the episode. Basically it means you will be admitted in an hospital and have EEG for 24 hours. And your brain firings during the episode will provide the appropriate treatment.
You condition is called Tics.
Next Steps
Consult a neurologist. Your condition was incurable 3 years back, hope I am wrong. But if nothing works, then reach out to me, not before that.