One more key element of boredom is control. Boredom often occurs when you have little control over your situation. Waiting rooms, lectures, and airline gates are all places where you have little control over your situation. Normally, we react to unpleasant situations by changing the situation. If you don’t like a book you are reading, for example, you close it and do something else. Boredom happens when you are unable to change the situation.  
In Experience Without Qualities: Boredom and Modernity, Elizabeth Goodstein traces the modern discourse on boredom through literary, philosophical, and sociological texts to find that as "a discursively articulated phenomenon...boredom is at once objective and subjective, emotion and intellectualization—not just a response to the modern world but also a historically constituted strategy for coping with its discontents."[3] In both conceptions, boredom has to do fundamentally with an experience of time and problems of meaning.
Then, after a baseline EEG test measuring normal brain activity, the researchers assigned the participants a tedious task: they had to turn eight virtual pegs on a screen as the computer highlighted them. This activity lasted approximately 10 minutes, during which time the researchers used EEG caps to measure participants’ brain activity as they carried out the boring task.
“I don’t like to be bored, but without it I couldn’t escape from it. Creativity is the byproduct of escapism.⁣⁣ Inventiveness is the byproduct of laziness.⁣⁣ Productivity is the byproduct of your mom.⁣⁣ Lol. Anyways. ⁣⁣The bored do weird stuff to not be bored.⁣⁣ The lazy invent things like cars so they don’t have to ride horses. ⁣⁣Get bored to get busy.”

Boredom also has its benefits. It is important to see boredom as a “call to action” (Svendsen, 1999). Nietzsche suggested that men of rare sensibility value boredom as an impetus to achievement. Boredom can be a catalyst for action. It can provide an opportunity for thought and reflection. It can also be a sign that a task is a waste of time—and thus not worth continuing.
There’s no specific, medical treatment for boredom. However, there are tons of solutions if you’re experiencing boredom. For example, you may want to consider trying some new hobbies or other new diversional activities. Joining a club can be a good way to thwart your boredom. Reading clubs, hobby groups, or exercise groups are all great places to start. Joining a community group that organizes activities and outings is another good idea.