It's the education system. You must preserve your pre-K and your university education humanities and history and not make them into job-training centres, and you must teach the history of gender.
You must teach the bad parts of history and what minority groups went through so that people value truth and recognize when they're being lied to. Also, there's journalism. You must fund journalism—alternative sources of journalism. These methods target the media and universities for a reason.