Hypocrisy is showing good while hiding something else. It is a result of weak faith in Allah (SWT). The person who believes in Allah and knows that Allah Knows everything about him and his thoughts and deeds, will never be hypocrite. Remembering Allah and repeating it, makes us away from hypocrisy. In fact no one is worth to be pleased than Allah, so, there is no question of trying to please people while ignoring The Creator.
'Repeating Estighfaar and Salawaat and La Hawla Wala Qowwata Illa Hillah is very useful in protecting from hypocrisy.
'Wassalam.