Default Unable to flash a ROM

I installed Clockwork Mod recovery but when I try to flash a ROM, it fails. I have tried with two different ROMS. Then it will not reboot once it fails. It just boots right back into the CWM recovery.