6 weeks pregnant with concerns

My wife and I are 6 weeks pregnant and she just noticed she had brownish clumps discharge. She has had a miscarriage years ago and we don't want another mishap. Anyone got some insight?