Had this before but negative result answers??

Katia

Okay so I was pregnant a few months ago and I had this yellow bad smelling discharge and that was one of the things that made me take a test. I lost the baby and trying again. I’m having the same discharge but no positive test!! Could it be too early for a test to pick it up or am I just not pregnant or what?