My iPhone screen goes black and won't come on but if I press the screen you can hear the key bored?

I've only had this iPhone for 2days! The screen comes back on after a while nut it keeps going black

If bought on eBay: send it back. It has a loose connection aka broken.
If bought from Apple: This unit will keep giving you problems even after repairs. So get a refund or a new one.

https://discussions.apple.com/...ad/5564493

Same thing appears to happen to other people… Follow the instruction…