Study the blunder after the game ends and learn by memory the right move line suggested by engine. Do it for 20 minutes at least after every blunder and you will do it no more but you will make another blunder if you move fast and lightheaded!!
If you make a blunder in your opening prep sure, but I imagine most blunders are made outside of opening, in the middle or endgame. In such cases it's useless to memorize the right move, instead you want to understand the idea or pattern you missed. 20 minutes is also excessive. A quick minute or so review, maybe followed by some relevant puzzles if its a pattern you frequently miss, is usually sufficient.
Study the blunder after the game ends and learn by memory the right move line suggested by engine. Do it for 20 minutes at least after every blunder and you will do it no more but you will make another blunder if you move fast and lightheaded!!