You can't turn off the proximity sensor on your iPhone, but if it's malfunctioning, try force-restarting your iPhone and ...
If your iPhone suddenly has no service, there are a few things you can try before contacting your network coverage provider ...