I agree with people saying noise canceling headphones are a great way to block out voices. If you’re like me and cannot focus as well with certain types of music playing, I recommend low to medium volume when studying. However, some genres such as classical music, doom metal, or chill step are some genres I can listen to and still study and those may work for you too.