How, exactly, did the EU penalize the UK for leaving?

Please, elaborate, I'll be waiting.