When a cooler happens and you're not the winner of the hand,just say to yourself:
-Okay,i lost but i cant do anything about it,i will just let the things happen,also i cannot control uncontrollable things.
With time you will overcome this problem i think.
Good luck at the tables.