I had the exact same problem for years I would have to eat 4 squares of chocolate after dinner or I would literally go crazy.
I had to cut out refined sugar 100% to break the addiction. It took a while and sometimes I fall back into it but it's just addiction.
Sugar is as addictive as cocaine btw and if you can't live with feeling like you 'need' it sometimes, then kick the habit. Good luck!