How can I wire a bathroom light switch which has an outlet, exhaust fan, and vanity light all from same junction box?
sounds like you probably have a 14-3 wire but the red wire may not be doing anything. The black wire should be across the switch and anything on the other side of the switch will go off and on with the switch. White wire shouldn't go across any switches. On receptacles, the black wire always goes to the brass screws and the white wire always goes to the silver screws. There are two ways to connect to a switch or receptacle with 14 gauge wire: you can push it in the holes in the back or you can connect it to the screws.