It is the players responsibilty to know the rules. Click the link and watch the rules of golf explained videos. These do not cover all the rules. These are the main ones you need to know to get started. Let me know if you have any questions.
If you want to further your knowledge of the rules this is a link to the full rules and some rules educational resources.