(according to Alain de Botton): Patience
"We should grow calmer and more forgiving by getting more realistic about how things actually tend to go."
I also think it helps a lot if you don't expect so much from others.
We are only human and we all try hard and fail often learning to live with our imperfections.
Irritation is just a waste of energy.