Pain can occur due to irritation, injury or conditions such as diabetes, shingles, or complex regional pain syndrome.