I always try to focus on just one project at a time! If I have another idea pop up in my head, I write it down so I don't forget it, but don't work on it until the first project is done :)
It's interesting how music can help some people focus and it can be a major distraction for others! I find some music is ok for me, but it depends on the type of music and the task I'm working on.