The wires coming out the ceiling are black white and ground. Connect the white wires neutral wires from your fan and ceiling together.

How To Install A Ceiling Fan The Home Depot
Black wire with white stripe ceiling fan. It appears the black wire with white stripes is for the lights on the fan if it has any. The wall switch is located near the bedroom door and controlled the light fixture i replaced with the fan. Hook up the black wire to the black wire. Next hook the white wires together. Be sure that the switch for this installation isnt a dimmer. This will allow you to add a light kit later on without having to rewire the fan.
Then hook the red wire to the black with a white stripe wire from the ceiling fan unit. I am installing a ceiling fan that has white black red and ground wires. White wire the white wire of the ceiling fan is the main neutral for both the light fixture and the fan motor. Lastly connect the blue wires together or the blue wire to the black wire for lights. The hunter directions say to connect all greencopper wires together. Connect the green wire to your household ground wire copperbare wire.
For ceiling fans without lights follow the same step. The hunter fan has four wires as well green white black and black with white stripe. You will damage the motor of the fan if a dimmer is used for control. Being the main hot wire the primary function of the black wire is to provide current to the fans motor. The fan has a light attached. The blackwhite wire connects with the blacks the white connects with the white and the ground connect to the ground if there is one.
I cannot get both the light and fan to work at the same time. Connect the black wires together. What color wire you connect it to depends on what color wire if any was run to support a light.