Remove your case, and remove any screen protector, and clean your iPhone thoroughly. A cloth for cleaningspectacles is one of the best things to use. Check if the proximity sensor is working by making a call whilst stood in front of a mirror, and seeing if the screen dims as you lift your iPhone...