If you don't get your volume switch to work there are three alternatives.
Pull control Center up and use the slider switch.
Go to settings> sounds> adjust the slider switch.
My favorite, settings> general> accessibility> assistive touch> on. To control the volume tap the onscreen black button, tap device, tap volume up or down.