ceiling fan install red wire /white wire
Red is usually used for "switched hot". Black is typically for the hot side, and white is for neutral. I would expect you to wire black to black, white to white, and bare/green to bare/green. Then you'd control the ceiling fan with the remote, NOT the switch.