You were late by 5 minutes in the office and your boss shouted at you in front of everyone. You will
1
Shout back at him in the response.
2
Explain the reason in private and request him not to shout in front of others.
3
Try to give reasons for the late coming of yours.
4
Complain the matter to the management and make him apologize to you.