Coughing up blood can be alarming, but isn't usually a sign of a serious problem if you're young and otherwise healthy. It's more a cause for concern in older people, particularly those who smoke.
Disclaimer: The information provided here should not be used during any medical emergency or for the diagnosis or treatment of any medical condition. The information is provided solely for educational purpose and should not be considered a substitute for medical advice.