Studying full time and failed 2 exams

Currently not working and studying for CPA exam full time. I took FAR and BEC respectively and failed both exams. I feel very discouraged and useless.. Now i don't know what to do..maybe i should reconsider it?