First of all believe in Allah and reject taghut (False ideology : democracy, secularism, liberalism, paganism).
Second, start praying 5 times and always recite ayat al kursi at least once a day.
Third, gradually reduce your masturbation.
Fourth, make muslim friends.
Fifth, get married if you can.
Sixth, if not, start fasting & exercising.