Needs help with masking brush

Any chance you could explain how to use the mask brush for 2.93 user,  I have had a dabble with the nodes to use a multiplier but didn't work and now kinda stumped.