Practice doing one thing at a time and do it to completion. If you jump all over the place and start a new project before you've finished the last one, you're telling your brain that it's okay to switch from one subject to another. If you really want to improve your concentration, you'll start trying to convince your brain to finish one task
before you move onto the next one.