Image inspired by R.Crumb
If you are withdrawing from meds - antidepressants - you may have brain zaps or other painful symptoms as part of what the pharmaceutical industry wishes us to benignly think of as "discontinuation syndrome".
As many who have been through SSRI withdrawal know, the experience can be a kind of Hell. You can read descriptions of brain zaps here.
To ease brain zaps, you may consider using supplements of Magnesium and Malic acid, described in the link below. Magnesium is the main ingredient in baby powder and Epsom salts, and Malic acid is also found under the name Apple Cider Vinegar. Link