For Volume buttons:
Test with SMMI if it is related to hardware
If no hardware issue is found, try a factory reset once
If both don't work visit the service center
How to Enter SMMI_TEST (test hardware)
Go to Calculator=>type " .12345+= "
you will be entered to SMMI_TEST