Motivation and Engagement

How do I develop a mindset to maintain motivation throughout the course?