As Joel said, acting out the word while whispering it to yourself works…although it will also make you look a bit odd. If you have a friend who’s also studying Japanese, setting up a study session with competition will help as well. I had one arrangement (learning Korean) where if I couldn’t remember a target amount of vocab, I’d end up buying my partner a drink.