Wipe the top of your phone, where your detector is placed, gently with a soft cloth or earbud. If you're not sure where it is, look at the illustration above. The proximity sensor will always be found at the top of phones, no matter what model they are. Check to see whether it now works after cleaning.