The SM57 is rarely the perfect mic for any job, but it'll usually do pretty well. Dynamic mics work best on loud, thick sounds - drums, guitars, bass, some vocals, etc. Condenser mics work best on more delicate sounds - xylophone, vocals, acoustic guitar, etc.
Try them both on different sources...