First... what did you do to get yourself there? Were you attempting to modify the system? Or is your phone just stuck on the Google logo out of the blue?
Second, there are ways to reload the system software (a Nexus is very easy to do so)... but it helps to understand how you got there before we can get you back out.