HOW can I make exercising as a habit I do one day and get lazy another one. This is my problem

Kings J.
Exercise becomes a habit by writing and setting your purpose to workout to always reflect when un-inspired/motivated. Shorten your workout. Raise intensity. Ask a friend or familyy member to join you. Otherwise seek to make connections at the gym. Personal trainers are another option although there is the financial aspect. It is very effective. Last tip is to schedule workouts first thing. Or possibly right after work.