I am wondering if instead we follow all the religion practice and all the ruling, how can we make sure everything we did is according to our heart thought but not brain.
Any other recommended practice in particular.

There is no such ruling in Islam that is extrapolated from the 4 principles Quran, the traditions of the prophet and Ahlulbayt, consensus, and intellect that is based on what the heart feels it’s all based the above and all the above is not based on our hearts.