Not the parent but I can suggest what has worked for me.
Talking to a therapist can be helpful in getting to the root of it. Meditation also helps, but it may be a longer road. In other words, whatever helps you live a more examined life.
Regarding habits and the habit loop (what's being mentioned here), "The Power of Habit" [0] is a great read.