Wiring a bathroom exhaust fan light and Outlet on one switch
Here's the trick with electrical wires in junction boxes. There is no color coding.  Wires are the colors they are because that's how cables are made.  

There is a system and practice for relating wires to functions.  However, the information is stored in the the way the wires are connected together already.  For instance, in a lamp box with 3 blacks and 3 whites, a wire-nutted group of 2 blacks / 1 white has a specific meaning. There's no need for further documentation; any electrician instantly recognizes what that is, and now knows the function of every wire in the box.  

So, that is why we need to see the current, existing relationship of wires in the box to each other.

From time to time, a newbie will pull all of that apart, not realizing.  In that case, it's time to call the electrician.  We on the Internet cannot possibly discern the function of a bunch of unmarked wires.  The electrician will be on-site and will be able to trace out each cable's function.