Cough it hurts my left side to. Could I have kidney infection or appendicitis?

Heart related. Possibly. Your appendix is on your right side. This could be related to bronchitis or a heart condition. I would seek a general doctor.