 A lot of times I understand going in front of a judge is intimidating. So people often ask me, look, what do I call the judge? Is it ma'am, is it sir, your honor, or judge? The reality is any of those work. So yes sir, no ma'am, yes your honor, or simply yes judge. So long as you are being respectful, any of those is a good way of addressing the court.