No matter the result or score, after every match I write down 3 things I liked about how I played and 3 things I need to improve
This helps your confidence and keeps the improvement process rolling giving you clear things you need work on.
I would write them down straight after your match when they are still fresh in your mind
After losses accept them as quickly as you can and get back to work on your game