Courtrooms inspire emotion, so people cry in the courtroom every day.  Judges, clerks, stenographers, and lawyers are all used to it. It’s okay. If you can continue testifying through the emotion, just power through. If not, everyone will patiently and respectfully wait for you to regain your composure.