Press the A (left) and C (right) buttons at the same time. A sound on/off menu should appear. If it's currently off, set it to on. Problem solved. If it's currently on, then you've physically broken something (a wire most likely), and there's nothing that can be done to fix it without taking the Tamagotchi apart.