Listening to music can help you focus and block out distractions. If you get too sleepy, try listening to music with a fast tempo or instrumentals. Music with lyrics can be a distraction, so it's best to avoid those if you're trying to focus on your homework. The music that helps you focus depends on the individual, so experiment with different genres and tempos to find what works best for you.