Mike Hayes - Failure is a stepping stone to success
That is a quote from the top 10 pilots in the rumours forum, it's worth a read.
the best thing to do with a failed check ride is learn from the experience, take from it what you can, Forget the bad stuff - you will probably beat yourself up more than any Trainner. and set yourself your next goal. Lots of people have failed check rides and still get on with it and move on to better things.
Good luck with your next one !