brown discharge

Iv been having some brown discharge for the past few days and a little blood but my period Isnet for ages I'm in my fertile window, what does this mean? Also having some tummy pains, anyone else get this is it normal ?