At any given time you can reset your Nexus 4 smartphone to the factory default settings, meaning you will bring your phone back to the same state as it was on a day when you took it out of the box.
You just bought Nexus 4 and you don't know anything about Android operating system, so I will guide you through literally first steps on this great phone.