、。
You'd better check he's home before going to visit.
Literal
Go-to-visit before, he [subject-が] house [at-に] being [fact-こと] [object-を] confirm-[better-to-た方がいい] [emphasis-よ]
Two useful patterns. ~前に ('before') attaches to a verb dictionary form. ~た方がいい is the standard 'had better do X' pattern — past-form verb + 方がいい. The nested こと construction lets 家にいる be treated as a direct object of 確認する. Final よ emphasizes the friendly advice.