Drill holes with a metal drill bit. A shelf that is 11-12 inches wide will work well for a standard 24-inch reach-in closet. However, if the bedroom closet is deeper, a shelf of up to 16 inches ...
Then consider what design and materials appeal to you (choose from metal and plastic or solid wood designs) and what your current storage needs are as you learn how to organize a closet.