People who lack self-awareness are more prone to boredom. A bored individual is unable to articulate what it is that he or she desires or wants to do. They have trouble describing their feelings. An inability to know what will make one happy can lead to a more profound existential boredom. Not knowing what we are searching for means that we lack the capacity to choose appropriate goals for engagement with the world (Eastwood, 2012).

What can you do about boredom? Obviously, there are times when you are stuck. If you are listening to a lecture that you cannot leave, then you just need to find a way to get through it. When you have some control, though, use your understanding of boredom to help you out. If you can, try to do a meditation exercise to lower your arousal level. Also, keep some music handy. Music you enjoy can crowd out distractions in the environment. It can also influence your mood in positive ways to counteract the pain of being bored.  
Martin Heidegger wrote about boredom in two texts available in English, in the 1929/30 semester lecture course The Fundamental Concepts of Metaphysics, and again in the essay What is Metaphysics? published in the same year. In the lecture, Heidegger included about 100 pages on boredom, probably the most extensive philosophical treatment ever of the subject. He focused on waiting at railway stations in particular as a major context of boredom.[25] Søren Kierkegaard remarks in Either/Or that "patience cannot be depicted" visually, since there is a sense that any immediate moment of life may be fundamentally tedious.
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.

Boreout is a management theory that posits that lack of work, boredom, and consequent lack of satisfaction are a common malaise affecting individuals working in modern organizations, especially in office-based white collar jobs. This theory was first expounded in 2007 in Diagnose Boreout, a book by Peter Werder and Philippe Rothlin, two Swiss business consultants. They claim the absence of meaningful tasks, rather than the presence of stress, is many workers' chief problem.

"If this is one of your tricks..." Like the time Torin had ordered hundreds of blow-up dolls and placed them throughout the fortress, all because Paris had foolishly complained about the lack of female companionship in town. The plastic "ladies" had stared our from every corner, their wide eyes and let-me-suck-you mouths taunting everyone who passed them.
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.