Sorry but I disagree with our friends here. In your sentence, sir is used as a name so you would capitalise it. It compares with, 'What do you think you're doing, Mum?'
And yes, the comma is essential. Note the difference between, 'Ive already eaten, Mum' and 'Ive already eaten Mum.'