What is this?

My vagina is swollen and today I've been having brown stuff come out? I find it on my panties or when I wipe and I don't know what it is...