Okay Anonymous seems like you dont know what to do, so heres a pretty detailed explanation. First, connect your iphone to a computer that has itunes installed(its free) and open itunes. Then power the phone off. After its completely off, do this:
-Hold power for 3 seconds
-WITHOUT RELEASING POWER press and hold the home button for 15 seconds
-Release power but keep holding the home button
It might take a few tries, but you should see a screen that shows to connect to itunes. itunes will then say that there is a problem with your phone and it needs to be restored. Hopefully you backed up your data, because you must completely reset your iphone for it to work again. Click "Restore" and just wait until your iphone is done restoring. Hopefully it should be good to go, just set the phone up again.
REMEMBER it will take some time to do this(Maybe 45 min?) but if you do it correctly, you can fix your problem. You can also research guides like "How to fix locked out iphone" if you cant figure it out from my instructions.
Heres a link for a better explanation if you didnt understand: https://support.apple.com/en-us/HT204306
Note: "Recovery Mode" or DFU Mode is the instructions I directed above. It will take a few tries if you do it wrong the first time. Just remember to turn off the phone before trying again.