Sticky yellowish disharge with blood stains sometimes but know bad ordour what could this be?

possibly an infectious discharge (pus)