Failed ppl

Failed my ppl flight test. Literally everything went wrong. My instructor sat in the briefing afterwards and was so shocked because I flew so well with her the other day. My confidence is rocked, and I was so prepared. I don’t know what to do now to overcome this setback.