For each of us, there are likely to be certain kinds of environments, strategies and tools that best help us to learn, and these will probably be different for everyone. It is worth reflecting on, and getting to know, what your 'optimal learning recipe' might be. This may take a little while to work out, and you can try different things to see what seems to suit you best. The kinds of things you might consider include:
When you are learning, try to emulate these optimal conditions, where possible.
Equally though, it’s important to accept that there may be times when your studying environment isn’t optimal, and you will have to be flexible and adapt to this too. For example, you might know that you generally work best in the afternoons, but one day you have an exam in the morning. You could therefore do much of your revision in the afternoons, but perhaps start to practise papers in the mornings as you get closer to the exam itself.