beige discharge

It's literally just once a day but it's everyday:( I have a few cramps but not at the same time as the discharge. I really think I will miscarry again. I had a scan and saw baby but no heartbeat so have to go back on Friday :/ this is agonising I've never been this far in a pregnancy but the discharge is making me panic :(