Learn to focus on get the job done, not how long it’s going to take. Human beings are notoriously bad at estimating how long things are going to take.
If you’re going to achieve something in 6 months or 6 years, it really doesn’t matter. The only thing that counts is doing the work each day and having your goal in mind.
Stop wasting your time on things you can’t change and that don’t matter.