How to do a Hard reset for a used 5c with nor original passcode a how

Used phone and unknown original pass code
Welcome to iMore!

Here is a guide on how to reset the passcode. But you will still need to know the Apple ID and password for the phone. Otherwise it is a paperweight.
Hold the top or side power/sleep button and the home button at the same time until the Apple logo appears, then release.
If you mean a restore of the phone, connect to the computer in DFU mode. You will need the Apple ID and password to set up afterwards.

Original thread: https://forums.imore.com/threads/how-to-do-a-hard-reset-for-a-used-5c-with-nor-original-passcode-a-how.363480/