Choose Paint > Flood Fill and click the area or color you want to fill.
To flood or fill a consistently colored area of an image layer with paint
The cursor becomes a paint bucket.
After Accept has been clicked, flood fill options are no longer editable until another floodfill operation is initiated. You can edit and modify the flood fill options up until you click Accept, mouse down on the image for another flood fill operation, or exit the tool.