Shaikh Muhammad ibn Ahmed al Mawahib al Tunisi (Allah have mercy on him) said,
‘The prerequisite for repentance according to the masters of this path (sulook) is to break from the company of the disobedient.’
‘Warning: Take care not to return to the place you deserted and to the spot where you parted (with disobedience), for there you might immediately suffer a relapse.’
Qawanin Hikam al Ishraq, page 38
This company, place or spot may include individuals, specific venues and materials that are heard, read or seen. This is, especially so for the indiscriminate use of Internet in our days.