What error are you getting when you try to install a custom rom?
What ROM are you trying to install?
Have you tried re-downloading that ROM?
Did you make sure to wipe cache, dalvik, data, and system?
Root would normally be installed with the custom ROM, if not you can always install SuperSU after you install the ROM, which TWRP normally offers to install for you, or via a flashable zip (http://download.chainfire.eu/370/SuperSU/)
If you have adb tools installed you can also sideload the ROM. (adb sideload ROM-NAME.zip)
Your best bet would be to follow this guild to return to 100% stock. Hope this helps, just make sure to read through the guild carefully.
ADB Sideload This Great i can boot to cm10.2 suscessfull
thank you verry very thank you
Managing files between your Android device and PC isn’t an … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?