You could write a book in answering this question. And you're not the first to ask such a question, and you definitely won't be the last.
Yes it's good advice to click on the above link. after that, check-out for moodle tutorials and guidance on how to install moodle, and create courses etc.
If you have any specific questions, or require step by step guidance, there are plenty of members here who will gladly help. So please ask and you will be answered.