My upper arm has been in pain for months?

Need evaluation. I don't think i can give you a meaningful answer without more information. Shoulder issues would be high on my list. Start by seeing your pcp.