Why iphone 6s frequently restarts?
Take it to Apple. It's a 5-year-old phone with hardware problems. Apple will agree to replace the battery when the health is below 80%. The charge for a battery replacement is quite small.
If there are other problems, then you may want to save your money and think about an upgrade.