When you use several words to change a noun, those phrases must be hyphenated. For example, most of these words–“I,” “don’t,” and “care”–are utilized as an adjective phrase to describe attitude in this sentence: “He has an I-don’t-care attitude.”
Consequently, those three terms need to be hyphenated.