Let’s try this steps:
1.Restart your iPhone
2.make sure your iPhone is up to date Update your iPhone
3.Disconnect any Lightning or USB-C accessories. If that problem doesn't happen after removing an accessory, try using a different outlet, cable, or charger.
If you are still facing this problem after trying these steps, you might need to set up service for your device, Contact Apple Support.
However, I can give you a temporary solution to this problem, which is to turn on the Ignore Repeat feature:
You can choose to have multiple inadvertent or involuntary taps read as a single tap. Just tap a duration while you're using several taps. To enable this feature:
- Go to Settings, then select Accessibility.
- Select Touch, then select Touch Accommodations.
- Turn on Ignore Repeat.