You seem to be suffering from viral upper respiratory tract infection which is a common type of throat infection in this season. Violent coughing sometimes causes injuries to small blood vessels of airway causing minimal blood in the cough. You may need to take antibiotics, mucolytics and cough syrups for few days
Next Steps
Consult nearby ENT specialist for confirmation of diagnosis and appropriate treatment if required