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.
The most common way to define boredom in Western culture is having nothing to do. Boredom is generally viewed as an unpleasant emotional state in which the individual feels a pervasive lack of interest in and difficulty concentrating on the current activity. The condition corresponds more precisely to the French ennui, an existential perception of life’s futility. Ennui is a consequence of unfulfilled aspirations (Goodstein, 2005).
A "banishment room" (also known as a "chasing-out-room" and a "boredom room") is a modern employee exit management strategy whereby employees are transferred to a department where they are assigned meaningless work until they become disheartened enough to quit.[37][38][39] Since the resignation is voluntary, the employee would not be eligible for certain benefits. The legality and ethics of the practice is questionable and may be construed as constructive dismissal by the courts in some regions.
The superfluous man (Russian: лишний человек, lishniy chelovek) is an 1840s and 1850s Russian literary concept derived from the Byronic hero.[42] It refers to an individual, perhaps talented and capable, who does not fit into social norms. In most cases, this person is born into wealth and privilege. Typical characteristics are disregard for social values, cynicism, and existential boredom; typical behaviors are gambling, drinking, smoking, sexual intrigues, and duels. He is often unempathetic and carelessly distresses others with his actions.

The authors of this paper point to an interesting study by Robin Damrad-Frye and James Laird in the August 1989 issue of the Journal of Personality and Social Psychology. In this study, participants had to listen to a tape of a person reading a Psychology Today article. In the next room, there was a television soundtrack from a soap opera playing. For some groups listening to the article, the TV was very loud and distracting, for others it was barely noticeable, and for some it was not playing at all. After listening to the article, people rated their boredom during the study. 
There are three types of boredom, all of which involve problems of engagement of attention. These include times when we are prevented from engaging in wanted activity, when we are forced to engage in unwanted activity, or when we are simply unable for some other reason to maintain engagement in an activity.[13] Boredom proneness is a tendency to experience boredom of all types. This is typically assessed by the Boredom Proneness Scale.[14] Recent research has found that boredom proneness is clearly and consistently associated with failures of attention.[15] Boredom and its proneness are both theoretically and empirically linked to depression and similar symptoms.[16][17][18] Nonetheless, boredom proneness has been found to be as strongly correlated with attentional lapses as with depression.[16] Although boredom is often viewed as a trivial and mild irritant, proneness to boredom has been linked to a very diverse range of possible psychological, physical, educational, and social problems.[19]
Boredom is similar to mental fatigue and is caused by repetition and lack of interest in the details of our tasks (such as tasks that require continuous attention, waiting at the airport, prisoners locked in cells). Any experience that is predictable and repetitive becomes boring. In general, too much of the same thing and too little stimulation can cause in its victim an absence of desire and a feeling of entrapment (Toohey, 2012).