Bloody discharge after masturbation

Tonight I was maturating for the 3rd night in a row and I realized some of the cum was a little bloody after I was finished. not bright red, but more brown. i’m on day 17 of my cycle and I very rarely get my period earlier than 25 or so days in.

Should I be worried? would masturbating “too much” cause some of the cum / discharge to look bloody? or could it just be from my period coming?

Thanks!