Nothing to do with pregnancy. Does anyone know?

So i have a question my husband youngest brother wants to go visit his brother who got arrested last week on Friday he recently just got court. And he wants to go visit him? But idk if he has to schedule an appt or can he just go like that? This a first time thing for us and we don't know much. If anyone does thanks.