I have pain in my left arm when I cough. Only started today but I have been coughing up blood for 6 weeks?

Hemoptysis. That is the medical term for coughing up blood. The pain in your arm is of no concern. But you must see a doctor about your hemoptysis. You will need a chest X-ray and possibly a CAT scan of your chest.