>>
More than likely they've hacked your Apple ID. Change your Apple ID password. If you can't login to change your password, guess what, you found their "hack." Call Apple and go through their verification & reset procedure. Once you get back in change your security questions since they probably guessed them - I recommend changing them with incorrect information, that way they can't use Experian or similar data breaches to gain access to the information they need to get past them. Who knew your mother's maiden name was Billy Jo Bob? Not the overconfident hackers, that's who. Even if you can get into your Apple ID, change the password & security details anyway, since that's the most likely avenue they'll use.
Once you get your Apple ID back under your control, perform a DFU reset of your phone and - using a computer with iTunes installed - set it up from scratch. The steps for getting into DFU vary depending on your exact model but they're documented on a lot of sites, like here:
https://www.imore.com/how-to-iphone-ipad-dfu-mode
Note that after you do a DFU reset it will likely ask you for your Apple ID password as part of initial setup, which is why you must regain control of your Apple ID first.