Dictionaries give entries for closed, open, and hyphenated compound words. So when you don’t know whether a compound is written with a space, a hyphen, or neither, look it up. If you don’t find an entry for the compound, check the entries for the parts of the compound.