Life hacks
To remember something for months, review it just as you're about to forget it.
Memory fades fast at first, then more slowly. Reviewing at growing gaps (say after a day, three days, a week, then a month) resets the fading each time, and the memory lasts longer after every review.
This is called spaced repetition, and it beats cramming the same hours into one night.