Staying focused is tough, and to be honest it comes down to personal circumstance and character a lot of the time.
A recent good example is the German soccer team Bayern Munich.
They went the whole season with 25 wins and 2 draws, and are generally considered one of the best teams on the planet.
As soon as they became guaranteed winners of the German league a few weeks ago, they lost all focus - and have only won one game in their last five.
I thought that was a good example of how, no matter how much skill or talent you have, if the focus and motivation isn't there - it is difficult to succeed (even if you are an extremely well-paid sports star with millions of people watching you).
One thing I've learned that might actually be useful though is time management. This is something I've had to become better at since I started working from home.
When I first started, I found it difficult to break away from my work. I still do to a certain extent.
I feel guilty if I'm not being productive enough, and when I was supposed to be focusing on other things, I had a habit of dipping into my work and getting reeled back in again.
Then I discovered that, actually, the most productive way to work was to find the right times to work, and do concentrated bursts of work, rather than a really long work day.
I don't know if the same circumstances apply to you, but for example - when I was at school and trying to study - we'd always measure the "quality" of our studying in terms of hours.
Like "I studied for 12 hours last night for this test".
But does spending 12 hours reading the same material necessarily make the output better?
I'd say not always.
Sure, having a strong grasp of a subject will take time.
But once you've overcome that early stage, learning becomes more about "what" you do and "how" you do it, rather than for how long or when.
So, I'd say the key to focusing is to find out when you're likely to be at your optimum - and try to build a routine around that.
Obviously, not everyone has the freedom to chose when and how they work, but this principle can be useful anyway.
I would also recommend setting objectives to measure your performance up against.
For example, if you're studying for a test I would try and line up several short practice tests. Take one at the beginning of your study period, spend some time learning about the mistakes you made (if any) and then take another similar test.
The improvement you make will serve as a motivational boost, but it will also set a new target. How can you improve on that score in the next round etc...
In terms of meditation, I'm really not sure what to suggest.
Personally, I find that most of my ideas come when I'm either walking around outside, or in the shower, so those are two activities I'd recommend trying out!