Chosen Solution

How can I get my I phone 7 plus screen to come back on when I am on a call and take it away from my ear?

Make sure nothing is about a centimeter around the front camera. This goes for dirt of any kind. If the screen has been replaced, it may need a new proximity sensor assembly.