In the following sentence, what is the correct way to write check in? Do I need a hyphen?
In your sentence, the compound word check-in is being used as a noun denoting the action of registering one's arrival. In English, there are three ways to spell compound words: as two separate words (e.g. on line), with a hyphen (e.g. on-line) or as a single word (e.g. online). Always consult your dictionary to verify the spelling of a compound, as there is no set rule. Most sources prefer the hyphenated spelling for check-in (when used as a noun or adjective).
Note that if the compound word in question is a verb phrase, such as check in or check over, you must write these compounds as two separate words:
But when check-in is used as an adjective, don't forget to use a hyphen: