You can remember the meaning of 被告 with this easy mnemonic:
The defendant always carries a blanket (被) with him in court and tells (告) everyone that it is his safety blanket.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.