You can remember the meaning of 警告 with this easy mnemonic:
Police (警) are giving out warnings to tell (告) people not to approach the town square on the day of an alleged protest.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.