my ringer dont work ,i have tried everything, also my alarm doesn t work too

its an iphone 5, I just purchased it, used of course
I tried all I could and even had others try
Welcome to iMore! Does the phone make ANY sound, like music, message alerts, etc.? If so it's probably a software issue. I recommend going to Settings > General > Reset > Reset All Settings and seeing if that fixes your problem. If it doesn't then try restoring as new, preferably through iTunes. This article should help: http://m.imore.com/restore-iphone-ipad-itunes
If you're still having problems then it's probably hardware related and you should contact the seller.
Turn up volume

Original thread: https://forums.imore.com/threads/my-ringer-dont-work-i-have-tried-everything-also-my-alarm-doesn-t-work-too.350016/