The best way to help is to encourage them to take responsibility for their own behaviour. The problem may go on longer if you cover it up. Encourage them to tell their parents, a teacher or an adult that they trust. Offer to be there with them when they do!
For more information on helping your friend see our 'how can I support my school friend' page.