Serious Question for Muslims

Punishment is not disturbing, it is totally legal if a girl or a guy find guilty they can be punished. There are some rules to follow, not you and I can go and punish anyone there are authorities and courts to decide. Also a female can not be punished publicly.