Used to show you have no sympathy towards someone. Also can be used to the same affect as 'So there'
Person 1: My cat died today *sob*
Person 2: Aaahh, yah boo sucks to you
Person 1: I don't want to watch Dr Who
Person 2: Well we're watching it anyway, so yah boo sucks to you