Doing something once in a while, or in short bursts and then stopping, will not get you to mastery.
What have you mastered? Chances are you did it consistently for a long time.
What do you want to master now? Do you want it bad enough to do it every day for a long time?