Red supposed to be the line (hot Wire) if you have a voltmeter try to verify this if not the other color has to be White that's the neutral and the green is the ground, now, on your fan you have the Light-wire, the Fan-wire usually they are black and red the neutral is white and the ground is no color (cooper), if you want to turn on the light and the fan separately you need to run another hot-wire and another switch if not
Red wire from the house to Light and Fan Wires
White wire from the house to white wire from the fan
And ground to ground
The only thing is that when you turn the wall switch on you have the light and the fan on you will have to turn either one off manually
Answers & Comments
Red supposed to be the line (hot Wire) if you have a voltmeter try to verify this if not the other color has to be White that's the neutral and the green is the ground, now, on your fan you have the Light-wire, the Fan-wire usually they are black and red the neutral is white and the ground is no color (cooper), if you want to turn on the light and the fan separately you need to run another hot-wire and another switch if not
Red wire from the house to Light and Fan Wires
White wire from the house to white wire from the fan
And ground to ground
The only thing is that when you turn the wall switch on you have the light and the fan on you will have to turn either one off manually