This page describes how to handle an unsuccessful job application.
Having taken the time and energy to apply for a role and hopefully you have had an interview, not being appointed can feel like rejection. However, in some cases it is not that you could not do the role or that you did not have the experience or skills, it may sometimes be someone else had more experience than you or someone else came across differently to you. Your time will come but how do you keep motivated?