discharge

I have been having really bad cramps for the past few days. I have also noticed some brown discharge, I'm not sure what any of this means. Can anyone help?