These headaches usually occur at random, are not associated with a head injury or other illness, and usually go away with rest and mild pain relievers.Secondary headaches:??? Post-traumatic headaches: Post-traumatic headaches occur in as many as 88 percent of people with a closed head injury and 60 percent of people with a whiplash injury.