Sign up for the new gym. Figure out where going will fit into my likely future schedule. Set an explicit period of lapse due to the effort of moving (or whatever life change is disrupting the norm).
Of course that is in an ideal situation. Sometimes you don't have enough notice for this (COVID stay-at-home threw me off).