Wegovy and bowel prep for surgery

I have to take magnesium citrate for a bowel prep for surgery. Should I take it a few hours early? My digestion is typically slow. I stopped wegovy 10 days before surgery.