You can remember the meaning of 当心 with this easy mnemonic:
You have to be (当) careful and take care of your heart (心).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.