ok two white connected to the bottom left of the switch.
two black the "hot" black & the right top wire coming out of the switch to the bottom right of the switch. the top left to the black wire coming out of the wall. the fan works from the switch but not the outlet ?