If you want to get good at anything, you must commit to it. Create good habits. Set aside time everyday, and just do that thing. Create the habit, and do it whether you feel like it or not.
Take an hour every day, and just program in your language of choice. Before long, it’ll be weird not to do it. Good luck, and I’m here.