i want to install a ceiling fanlight without connecting it to wall switch, but now that it is installed the ceiling fan light come on every time i turn on the light switch and I don't want that,please tell me how to fix this issue
The problem is that both hots (red and black) in the light box are switched (probably--you haven't told us enough to know for sure). You could install a switch lock, or you could nut the two conductors that connect to the switch together and optionally install a blank switch plate.
Generally, installers assume that if you have a fan and light combo, you will want to control them separately. That's what is happening when you see a cable coming from the light switch with red, black, white and bare. Ground and neutral are shared, and the red and black give you 2 hots so you can control fan and light separately.
You can buy double switches which put 2 complete switches in the space normally taken by one.
One way this could occur is if in the wall switch box, both the red and the black going to the fan/light unit are both connected to the load side of the same switch.
If that is the case and you want only the light to be controlled by the wall switch, then you would disconnect the fan hot (red or black) from the load side of the switch and leave the light hot connected to the switch. You would then connect the fan hot to the line (that feeds the line side of the switch) so power to the fan unit would be on all the time. You would then use the pull chain to switch the fan on and off.