I've got the solution! Reinstall your firmware using odin with PC while your phone is at download mode. If you'r samsung user, you can find your phone's firmware at sammobile.com , If others , google for it.
what if i wasnt able to open the usb debugging mode in my phone before i got stuck in bootloop after installing chainfire 3d.. i also dont have cwm recover mode .. what am i suppose to do to fix my phone? please help sir