Worried!

cc
So i went into ER Last week as i experienced minor Spotting followed by back pain&cramps. Had ultrasound done&baby seemed to be doing ok...they gave me tylenol&sent me home.. But ive noticed brown discharge happening almost everyday&im a bit worried...does anyone know what could be wrong? Im so scared to miscarry. I want this baby more than anything.HELP