How to stop being a pessimist?

As we with all the experiences and responsibilities we somehow learn to be a pessimist. If you are a pessimist here’s how you can stop being pessimist.