Sometimes the best way to motivate yourself is start. Just start with what you need to do. Talk to yourself. Let it know what the deal is.
P. S: whenever it gets real hectic I notice my mind wanders too much so I calm myself down. Even if I have a deadline or time seems to be running…calm down. Going crazy doesn’t make time go slower but taking your time gives you the ability to do quality work. Good luck fellas!