It could be your job, your office environment or even extenuating circumstances in your personal life. Whatever the case, the first step to solving a problem is figuring out the root cause.
One day I made a promise to myself: If work ever stopped being fun, I would quit and do something else. That promise turned out to be the key to a successful career.