You can remember the meaning of 忘记 with this easy mnemonic:
You keep forgetting (忘) that you're royalty…remember (记) to refrain from swearing in public!
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.