The best way is never to play out of rhythm!  Then you never have anything to un-learn!

https://alive-drumming.org/when-to-work-on-your-rhythm/

At Alive Drumming, we have long believed getting into the rhythm has to be the very first thing to get right and there’s little point playing notes at all unless they are in the desired rhythm (feel and groove).  What has changed everything is having Song Rhythm Tracks In seconds !