First, learn to think critically. This means carefully evaluating and validating any new ideas before accepting them. Don't take the answer at face value, but dig deep to get to the root of the problem and understand all possible angles and perspectives.
It's also important to keep an open mind. Don't reject other people's ideas just because they differ from yours. Instead, be willing to listen to others, understand their point of view, and try to learn from it.
Constantly learning and improving your knowledge allows you to see the world more correctly. Only through continuous learning and accumulation of knowledge can we better understand the world and avoid foolish opinions due to ignorance.
Avoiding silly ideas requires constant critical thinking, keeping an open mind, and constantly learning and improving our knowledge. Only in this way can you have the right perspective.