This happened to me a lot in the beginning but the mistakes were my own. I just installed a new image on the sd card and tried again. Each time I make a successful change I make a backup image so I can revert to that after my next mistake without losing previous work.