Focus on convincing them that you did not mean to upset them. The intentions kind of matter to us, we accept that people make mistakes and if we clearly see that you had no ill will we can forgive even if what you did or said ended up hurting us. Also, give them a bit of space to cool off first, they will be a lot more open to forgiveness if they've calmed down. Good luck!