Many parents beat themselves up for not handling every problem perfectly. This is never helpful. Being able to admit a mistake — and correct it — is a sign of character, not of weakness.
Although primarily known for her work with children, Maria Montessori had tremendous insight into adults, too — such as her guidance on developing "a friendly feeling towards error".