Feeling bored


Hi. I realized that when I have nothing to do or I am free or I get bored , I get nervous.
I want to learn how to deal with this emotion and how to be comfortable when I am bored.
Thank you