I like to set the pattern bucket tool to lasso/ erase blending, then I can switch between the two bucket tools to use fill and erase. That’s just one way to do it, putting erase mode blending in the toolbar/quick menu/ hotkey also is great and works for brushes too.