Using Masks

I have had difficulty finding material about using masks and I did find this tutorial by eomir but once I try to use the brush with the mask it turns red and it's not appearing as it should. IE. It's just brushing red overtop the image I am trying to blend. If anyone knows of a better tutorial or knows what I'm doing wrong, I would be very grateful.