The best advice I can come up with is that it’s something that can be actively trained, and that it doesn’t come suddenly. Set up a temporal and physical space for concentration, and commit to leaving it if you feel the need to be distracted. It’s nothing to be ashamed of, but the important thing is to associate that space with concentration at a visceral level. You’ll naturally start extending the duration you spend there as you get used to it.