Secondary insomnia - means that a person is having sleep problems because of something else, such as a health condition (like asthma, depression, arthritis, cancer, or heartburn); pain; medication they are taking; or a substance they are using (like alcohol).