[M]Know the two types: Nifaq I'tiqadi (belief hypocrisy — disbelief hidden) and
Nifaq Amali (action hypocrisy — having hypocritical traits while believing).
[2]Check your intention (niyyah) regularly to ensure sincerity.
[1]Repent when you catch yourself in any trait of nifaq.