Literally, that means "How can you compensate what you've done" in order to blame someone who has messed up something.
Actually this is a Kansai's, western Japanese, dialect used in daily life and frequently in commedies.
If you say どないしてくれんねん! seriousely with tense, it shows your anger.