For me personally, it's to keep writing the same thing out till I just know it. So if you have three definitions or things to memorise, this is what I do.
Write out definition 1. Repeat until you can do it by memory.
Write out definition 2. Repeat until you can do it by memory.
Go back and see if you can now recall definition 1.
Write out definition 3. Repeat until you can do it by memory.
Go back and see if you can recall definition 1 and definition 2.
Obviously extend this to however many things you need to learn/memorise. Some things you will just find easier to understand than memorise and then if you understand well enough, you'll be able to the questions in the exam regardless of memory skills but other things you will need memory like set definitions/rules. For these, I suggest to use that process and it does sound long-winded but I find it helps with not just remembering things in that moment. It sort of trains your brain to remember stuff you learnt previously after learning something else so you don't end up just remembering the most recent thing. So for long term revision, choose a topic to spend say half hour of doing this. Then, the next night do this for another topic. And the night after, see if you can remember everything from the first topic. (again, it's doing the same thing but you're extending it for whole topics).