Two methods, and they differ mostly in how much you trust your hands.
Buy a decal sheet from a game or hobby shop, or order one online; prices vary a lot depending on the design. Cut the decal out, float it in warm water for about thirty seconds, then slide it onto the figure and hold it in place while you peel the backing away. Done, and if you get it wrong you can start again with another decal.
Draw the design straight onto the figure with a fine marker or a small brush. This is cheaper and gives you complete freedom, but there is no undo. Steady hands are not optional here, and a single slip ruins the part. Practise on a spare or a cheap figure first.
For anything you care about, decals win. Paint is for when you want a genuinely one-off custom and accept the risk.