2011 Toyota Prius how to calibrate windows after changing small battery

The small battery in this vehicle was dead and wouldn't hold a charge. We changed it and then had to calibrate the windows because they didn't work.