how do you keep dialpad on screen while on phone?

every time I try and type in a number or end call screen goes to sleep and very difficult to get back is there anyway to have screen on all the time to end wrong dial or checking voicemail even tapping it does not bring screen on long enough to operate any buttons