Hello Friend, Good that you are seeking a help here. I can understand your suitation. If it's a kind of emotional battles or imbalance that is going on inside your mind and making you to feel so, then it's a sign of anxiety or stress.
No worries. It's quite possible to experience such symptoms due to worry or stress related to job or career or even relationships expectations or issues.
You can adopt few preventive measures to manage such thoughts and feelings through stress management techniques, self therapies or few lifestyle changes.
Do observe and analyze what has changed recently in your environment, lifestyle, job or relationship to do a self analysis and isolate the root cause.
If you need assistance, don't hesitate to take a counseling support as first step rather than you holding on such disturbances within you.
Next Steps
Call me directly or online through Practo for further detailed evaluation and suitable recommendation that you can follow. As I do come from IT background, can understand the work lifestyle challenges and such boredom that can cause such problems among people like you. Be positive. You will be alright soon.