You seem to be suffering from viral upper respiratory tract infection which is a common type of throat infection in this season. Violent coughing can rupture small blood vessels inside your airway leading to minimal bleeding. You may need to take antibiotics, cough syrups and steam inhalation for faster recovery
Next Steps
Consult nearby ENT specialist for confirmation of diagnosis and appropriate treatment if required