Mark out where you want the holes to go on the wall with a pencil. Then cover the area you will drill with masking tape. This will make sure that your drill doesn't slip and damage your wall.
Wall plugs are colour coded which indicate how much weight they can bear or what type of screw they can hold. Make sure you choose the one you need. With the right sized masonry bit for your wall plug and screw size, predrill a hole using the hammer drill to the depth of your screw. Tap a wall plug into the hole and then you can screw into it. Remove the tape and you're ready to hang.