Addressing people by title or name is very much dependant on the relationship between the parties and the individuals.I personally would not call anyone Sir if i don’t respect them,just because they have the title it doesn’t make them better than me.
If it comes down to discipline as in a classroom between pupils and teachers then yes,Sir ,Madam should be used.