A search with “formula” would give you lots of threads, for example Constructing my first memory palace: Learning all the physics formulas for the Physics GRE
You can also search for “verbatim” and/or “exam” and have plenty of people talking about the learning the verbatim part.
It’s hard to give better answers as long as you don’t tell what you have already tried (and what problems you have personally).