block something out
force oneself not to be bothered about something
block it out
I hardly notice the sound outside any more. I've learned to block it out and focus on other things. Closing the windows helps of course!