can someone explain this to me

for almost a month I've been dealing with brownish discharge it comes and goes throughout the day. then sometimes it's a few drops of blood and then it stops. some days its really mucousy and brown. I'm not really sure whats going on.