I'm installing a ceiling fan, the color wires in the ceiling different from fan. How do I know which to conn?

The fan has a white and a black to connect, But my ceiling fixture has a red wire and 2 black ones which they have connected together for some reason. Not sure which wires to hook where? If anyone knows anything about this stuff help would really be apprecitated. Thanks!
Update: the 2 blacks in the ceiling are connected
the red is by itself.
Also has copper wire in ceiling.
5 answers 5