Dear Rockstar, we apologize for we missed your question.
Generally, meditation is considered safe for most people and can have many benefits, such as reducing stress and improving focus and concentration. However, it is important to remember that everyone's experience with meditation is unique, and some people may have negative reactions to it.
In some cases, people may experience temporary side effects such as headache, fatigue, or confusion after meditating. These side effects are usually mild and can be resolved by adjusting the frequency or duration of meditation sessions or by using a different type of meditation.
In rare cases, meditation may trigger or worsen symptoms of mental health conditions such as anxiety or depression, or may cause a person to experience flashbacks or other traumatic memories. If you experience any negative side effects or have a history of mental health issues, it is important to talk to a qualified healthcare professional before starting a meditation practice.
Additionally, it's important to note that meditation is not a substitute for professional medical or psychological care, and should be used in conjunction with other treatments or therapies.
I have gone through your question with due attention, but could not find the type of meditation you practised then which resulted in vigorous movements inside your body and severe headache and changed your food habits drastically. For example, maybe you have wrongly practiced kundalini meditation, I cannot say. If you could let us know the steps you followed in or during the meditation, we would be able to diagnose properly and suggest the remedies accordingly.