do you void your car's warranty if you go and install a new headunit?

or is it ok?