New remote-controlled ceiling fan doesn't respond to wall switch
If the fan has a remote module, it's designed to be controlled by the remote. You can usually bypass or eliminate the remote module, but it's usually not possible to control the fan from both the switch and remote.

You'll have to look in the switch box, to determine if the red wire is actually extra.