Your course ends when you complete 100% of the content. If your average grade is above 75%, you can also download your certificate. You have 5 years of access to get there; see the details in Does my course expire?
In "My courses" you can see the expiration date of each course next to "Expires".
Related guides