amberleigh, brown blood normally indicates older blood. Not all menstrual debris will come out of your uterus during your period. A bit can stay behind. When you have sex or masturbate, your orgasm can push this old brown blood out. Was this when it happened?
Other things can also make it come out just before or after your period.
If you are worried, speak to a doctor.
Take care!