It's called bootloop and its more common with custom roms but can occur on unchanged systems.
SOLUTION - enter recovery mode(google your phone+recovery mode cuz its different for some phones. example - samsung galaxy s3 recovery mode etc.)and proceed to wipe dalvik cache, and then wipe cache...