If you have an iPhone X or later press volume up Volume down and then hold power that will hard reset your phone
if you have an older phone iPhone 8 plus or older hold the power and home button down until the screen shuts off to do a hard reset
if then it still does not work I would probably connected to iTunes make a back up and then reset the phone however that will not help if there’s a hardware issue