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