pregnant?

so i missed my pill quite a few times this month and didn't take them again. i've had sore boobs and when having sex with my boyfriend brown stuff and a bit of blood came out. i took a pregnancy test but it was negative. what could this be??