What do you do if there are black patches on your iPhone that will not respond to touch commands?

You should take it to the store you bought it from and have them fix it. If they can't you will have to buy a new phone.