Understand the hadith

If a thought of showing off occurs during a good deed, what is a suitable first step?

Wealth, Eloquence, and Protection from Trials (Hadith 79-88)