To get more in depth than patio11's link below, I would recommend looking at Brennan Dunn's courses (the free one is great to get started), and at the risk of being accused of self promotion: sign up to my course at: productizedconsulting.com (free and my own service was inspired by Patrick and Brennan's workshop a while back)
The TLDR is: package a small part of your expertise as a product, and sell it as a SaaS. Having dependable recurring revenue is a game changer.