Default [Q] TWRP Rebooting

Twrp keeps rebooting and I cannot flash. I was in the middle of a flash and now no longer have an os installed. I was on clockwork but I prefer twrp so I flashed that today it rebooted and appeared to work then this strange behavior started. what should I do?

edit:Managed to flash clockwork in the short time it was working and that solved my problem.