To deal with rejection you need to accept rejection, embrace it and learn from it. You earned that rejection, you finished the script and you found the courage to send it out there. Appreciate your accomplishments and put your energy into moving forward rather than dwelling on the past.