It's all a matter of practice. The more you think reasonably, the better off you'll be. If you want to get mad or frustrated, do it but don't live there. Do it and let it go, as many times as you need to. If we can be gentle and kind to others, we can do so with ourselves.