How to build a habit out of budgeting?

Budgeting isn’t always an easy thing to do. What are the ways to build a habit out of budgeting, and how do they work?