The most important step when fastening a heavy item to brick is to make sure that the brick is anchored to the main structure.
You can't just nail or glue something to bare brick, since attaching heavy objects to brick is more difficult than mounting on wood or drywall.
Since insufficient or small anchors may break and damage both the wall and any mounted objects, it is imperative that the correct anchors are used for heavy objects