Hello ~ It sounds as if you may have assistive touch turned on…the button that looks like a home button on your screen but without a screenshot I cannot tell for sure. Look here and see if this is what you are seeing or send a screenshot:
Use AssistiveTouch on your iPhone, iPad, or iPod touch
If the ringer and speaker are not working then perhaps you have the phone on silent mode so check this out:
How to put your iPhone on vibrate, ring, or silent mode - Apple ...
If none of these help you post back or take the iPhone in for a checkup:
Genius Bar Reservation and Apple Support Options
~Katana-San~