A. 1. Ensure that the lines of your drawing are closed; the paint bucket tool only works if there are no gaps. 2. Use the 'Undo' feature immediately after filling to revert the fill and try again. 3. Adjust the tolerance settings of the paint bucket tool if available, to better control the fill area.
B. 1. Instead of using the paint bucket tool, manually fill areas with a brush tool for more control.