It requires a premium account — the option does not appear for free players. Once you have one, go to Settings and look for "personal coat of arms", click browse, and select the image you want from your computer.
Keep the file small and simple. Heraldic designs read badly at thumbnail size, so a bold shape with high contrast will look far better than anything detailed.