First of all, it is necessary to learn the belief which the Ahl-i-sunnat  savants - may Allahu ta'ala give them many blessings for their ceaseless efforts - communicate and write in books, and to correct the iman  in accordance with it. Then we should learn the rules of fiqh (the commandments and prohibitions of the Shari'at ). We should adhere to doing the fard  ,being cautious about the halal (permitted), and avoiding haram (forbidden) .
Supererogatory worships are worth nothing when compared to the fard. The Muslims of our time ignore the fard and give their utmost to supererogatory worships; they value doing supererogatory worships [e. g. rites of mawlid,-which are most often than not performed in mixed company-, mosque-building, almsgiving, and other acts of non-essential charity,], while they deem it unnecessary and unimportant to do the fard [e. g. performing the five times of namaz  daily; fasting in the month of Ramadan; giving zakat ; giving 'ushr ; paying one's debts, learning acts that are halal and those which are haram; girls' and womens' covering their heads, hair, arms, and legs; not listening to the words of those men on the radio or television who are megect enemies of our religion and who try to corrupt our belie fs and good morals.
Nevertheless, they do not understand that to give one cent as zakat to the proper people (declared in the Qur'an) is more blessed than giving thousands of dollars as alms. To pay zakat is to do Allah's command. But alms and favours are mostly intended to earn fame, reverence and the sensual desires of the nafs . When one does the fard, hypocrisy or ostentation do not get mixed with the action. But there is a lot of ostentation in supererogatory worships. It is for this reason that zakat should be given publicly. In this way one will be safe from being slandered. The supererogatory alms should be given secretly, which will increase the probability that it will be accepted [by Allah].
In short, to be safe from the harm of the world, there is no other way than doing the rules of the Shari'at. Those who cannot cease from worldly pleasures completely should relinquish them at least supposedly, that is, they should think of themselves as having forsaken the world. And for doing this, one should adapt one's every action and each word to the Shari'at.
 Hadrat: title of respect used before the names of great people like and Islamic scholars.
 Ahl as-Sunna: the true pious Muslims who follow as-Sahabat al-kiram. These are called Sunni Muslims. A Sunni Muslim adapts himself to one of the four Madhhabs. These madhhabs are Hanafi, Maliki, Shafi'i and Hanbali.
 iman: faith, belief, beliefs of Islam; kalam, i'tiqad.
 Shari'at: (pl. of Shari'a) i) rules and commandments as a whole of the religion. ii) religion.
 fard: an act or thing that is commanded by Allahu ta'ala in the Qur'an al-kerim.
 namaz: prayer that is performed five times per day in Islam.
 zakat: (fard duty of giving annually) certain amount of certain kinds of property to certain kinds of people, by which the remaining property becomes purified and blessed and the Muslim who gives it protects himself against being (called) a miser.
 'Ushr: a kind of zakat.
 nafs: a force in man which wants him to harm himself religiously.