Brown discharge?

For the past couple of days I have had a brown spotty discharge. I was due for my second depo provera shot today, but I can't get in to have it until tomorrow. I have had unprotected sex, but not in the past three days as it was so close to the date of my shot. What could this be?