NEXUS 4 CRASH, WHAT DO I DO

I was using my nexus 4 in google earth and it just stopped working, the buttons turned unsresponsive and the touch sensors werent doing anything, now its just sitting there with a black screen and not changing!!! what can i do and what went wrong?

Please help