There are basically two ways to make sound with an Arduino. You can use Tones or a shield that plays a sound file.