Do sincere isteghfar and be in the state of wudhu all the time to keep yourself away from evil thoughts. And pray namaz at prime time. Be in the company of good practicing God fearing momenenaat .
Read Quran twice a day with translation and aayat no 28 from surah Raad.