Hello nikhilcr,
I think with such details no one would be able to help you out properly.
Anyone can just hit a blind guess for your problem. SO it would be better if you elaborate properly
but for my hit of guess if you want to install gnome and kde
Code:
#yum groupinstall "GNOME Desktop Environment"
#yum groupinstall "KDE"