How to factory reset iPhone 5s without Apple ID pass?

Today I got an iPhone 5s as an extra for a trade off and I don't know ANY PASSWORDS! The guy who gave it to me doesn't know either and can't get it recovered through email I want to know how to erase the iPhone without actually having to take it in and pay a bunch

The phone is stolen or found. Apple designed it specifically so you can't use it.