Interpret every process of your life with a lot to learn and take lessons from what you have experienced. Failure is simply a process that was having problems and little resistance. Therefore, start again carefully and more closely. Be careful not to get into a hole two times the same or similar mistakes, but develop them little by little you abilities along with your past experiences.
Do not expect the change will come to you if the failure to make you give up. Actually, you only need a strategy right, and eventually what you'll aim and target is really in the planning and vision and mission. Failure is just a phase where one is taught to examine and self introspection for better and wise to accept. :)