You can consider the following points to build motivation while trading:
Don't compare yourself with other traders
Be realistic when it comes to your trading expectations
Don't forget to take a break from time to time
Keep in mind your successful moments
After a successful session, reward yourself