If your phone taps by itself: switch it off first
A display that detects touches that aren't there can start calls, send messages or change settings. If you're seeing this right now, switch the device off until you have time to look into it.
If switching off via the screen doesn't work because the touch keeps interfering, a force restart with the buttons helps. How to do that on your model is explained in the article on the iPhone that won't turn on.
