Got ur pain n concern though it's unfortunate but common too in such stressful senario.
It depends training of mind n ur senses too as u almost lost to Ur habit.
Ayurved offers amazing outcomes with such irregularities, and Ur commitment to learn the art n technique with Authenticity by Yoga n Exercises will boost ur confidence.
Next Steps
consult AYURVEDIC college Hospital in ur city or clinic
Health Tips
Engage in Healthier habits of food exercise adequate calming sleep