What’s the best way to fix boredom?

Find new motivation. Learn a new skill or language, exercise, help others etc

Learn about a new topic or something beneficial

You can literally do anything else