Dehydration and having a herniated disc are common causes of charley horses. A doctor can diagnose a charley horse with a physical exam, but may use imaging tests. Staying hydrated and stretching can ...