Electrical – Help with ceiling fan wiring. Red black and white wires

electrical

Over the weekend I started a project to install a ceiling fan and hook it up to 2 switches, 1 to control the light and 1 to control the fan. There was originally one switch controlling a light fixture. I ran a new line 12-3 from the ceiling to the electrical box. The power coming in to the box has a wire that is black, red and white. I cannot figure out how I am supposed to wire this to the switches so I can accomplish this project. Any ideas or diagrams would be great. Thank you so much. I have included 2 photos. One is of the original wiring that was at the switch and another with the power and the new 12-3 wire that I ran. Thank you so much for your help.Original wiringenter image description here

Best Answer