34 weeks pregnant. Yellowish greenish chuncky discharge that comes out in globs. Seen doctor medicine seem to have made it worse. Don't want to still have it if I go into an early labor and baby contracts it.

Call your -DR. Call your DR an inform that this is still going on. Without your call back, the DR will assume that the problem has been corrected. Inform DR that you still have the problem.
Diagnosis. Did you take the antibiotics prescribed? You need to go back to the ob/gyn. Take your treatment prescribed and if you have trouble tell your doctor .