When I stretch sometimes i'll have a muscle somewhere either in my arm or neck that hurts almost like im getting a cramp what could be the cause?

Needs physical exam. Could be muscular or a nerve in your neck. You require a physical examination. Though most of these types of issues are minor (but annoying!), be sure you do not have a pinche nerve. Best of luck and feel better pk md.