Ban pornographic websites and stop airing such movies. Stop objectifying women in commercials. Stop making marriage difficult.
5. HELP PEOPLE TO HAVE A DEEP CONNECTION WITH ALLAH
Even if there are no direct means of assessing Haram those who want will find a way and then use such victims to satisfy their desires. Therefore, use the blessing of Islam to teach people how to develop a strong connection with Allah. Teach them Tawheed and Aqeedah so they realize Allaah is always watching them. Yousuf عليه السلام had the perfect opportunity. He was alone, with a beautiful woman, and she was willing. In fact, more than willing, she was forcing him. How did be stop? He was sincere with Allaah. Fullstop.