Cover up the first bit, memorise it and say it out loud, cover up the second bit, memorise it then say the first bit and then the second bit, memorise the third bit etc
everytime you make a mistake saying it out, go back to the beginning.
However, you end up knowing the beginning really well and not knowing the end all that well, but it's worked for me like all my life haha!