Try resetting your network settings (settings > general > reset > reset network settings). If that doesn't work, reboot your device by holding the power & home buttons a the same time until the Apple logo appears.
If the advice Nikki gave you does not work, While listening on spkr try hitting the volume up button as the speaker volumn is seperate from other volumns on your device as all iPhones are like this.