Brownish discharge in early pregnancy

Having brown discharge just in 4weeks went to the hospital was given duphaston drugs still scard cos it happen b4 I lose my previous pregnancy