Happiness and misery are products of the mind and to be able to enjoy life one should cultivate and pursue right resolutions. How this can be done is explained in this book.
Be brave! Be strong! Be fearless! Once you have taken up the spiritual life, fight as long as there is any life in you. Even though you know you are going to be killed, fight till you are killed. Don't die of fright. Die fighting. Don't go down till you are knocked down.
-Swami Vivekananda