One of my mates at the gym had this same problem about 2 months ago. It turned out to be a ruptured ulcer in his stomach, and thats why he was coughing up blood. He nearly died from blood loss coz he took that long to go in. Point of this story, is to get straight to the docs or emergency room.