If your iPhone is still under warranty and overheating is not due to physical damage or unauthorized modifications, Apple may cover the repairs or replacement.