I also struggled with focusing for long periods of time, and my suggestion is scheduling. To start, try making a list of important things to do each day when you wake up in the morning and set aside appropriate amounts of time to do those things in advance.