How to Apologise and When You Should

Have you ever wanted to say sorry, but you've held back? Maybe you thought that the other person should say it first, that apologising would make you appear weak, or that the problem was in the past and now it's too late to say sorry?