Stay intellectually humble. It's a huge component of wisdom in my observation. Understand you can always make mistakes that can be corrected, and that you have arrived at your opinions through limited information that can always be supplemented, so stay open to both of these possibilities.
You can be confident in your opinions that you arrived upon through spending a lot of effort thinking about them, and you don't need to have self doubt when challenged on them baselessly. But when someone does point out an error or something you missed, it's essential you haven't become closed to accepting it.
Always remember what the basis are for your opinions and how well-founded they really are. For example: how much do you actually know about a thing when you're relying on something you read in the news? How much do they really know about that thing?
As a check on yourself believing you've put a lot of effort into thinking about something, be on the guard for unwarranted confidence. If a professional has put their efforts into something in their field of expertise they've spent their whole lives working on, chances are you haven't thought of something they haven't in the first five minutes of hearing about their work. That might seem ridiculous, but you see this all the time on Lemmy, where for example commenters seem to think they've figured out key errors in scientific papers after reading a single popular science article about an experiment or figured out solutions to incredibly complex problems like fair taxation.