Court advice needed

Hi, I’ve tried googling it but I’m getting different results. I’m a witness in court and I was wondering how do I present myself? Is there anything I have to do as respect to the judge?

Also I have another question but don’t wanna post here can anyone message lol?

Soz if this is super weird.