Golf is a self-regulating game and it is the responsibility of all golfers to know the Rules. A sound knowledge of them will allow you to deal with most situations you encounter on the course and it may even save you a few strokes.
There are various online resources available to you to provide an interesting and easy way to learn the basics of the Rules of Golf.