As you gain more experience in life and as your knowledge base becomes wider it becomes harder to impress you. Have you ever met someone who is easily impressed by anything? Most probably that person’s life wasn't as experience rich as yours and so everything seems new to him.
Just like a small child can play with a boring toy for the whole day without getting bored your friend who hasn't seen a lot may not get bored as fast as you.
This means that when we get used to the things we like we find them uninteresting later on or at least not as interesting as they used to be.
In order to get over boredom you must first determine the type of boredom you are suffering from. Are you bored because you are doing things that are not aligned with your goals? Are you bored because your life is not experience rich? Are you bored because you have no major interests or goals to go after?
Once you determine the type of boredom you have make sure to fix the root cause instead of running after quick fixes like online games,internet or even various kinds of addiction that will never help you get over your boredom.