A new study has shed light on the health risks faced by people who stop using weight-loss medications Ozempic or Wegovy.