The Red wire needs to be connected to a ceiling light fixture. A spare wire that was intended to be used when wiring for a ceiling fan is the red wire. The red wire is used for the light and the black wire is used for the motor of the ceiling fan.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.