There are 5 different weapons (or ammo types) designated by the different colour batteries you collect.
Switch between then using the right shoulder button, mouse wheel or num 1-5.
My tip would be to stick mostly with yellow ammo (rockets) once you have it.