In all honesty, staying motivated in this period of time can be very difficult to do. However, people have been able to accomplish it with appropriate planning and schedule. If possible, make a to-do list of what you plan to do for the day and keep track of it to see if you're actually keeping to the list. That is what I do and it has worked for me so far.