2 switches on same circuit
I'm using the power coming from a nearby outlet. In the 2 gang box I have and original 3 way switch powering a light and a new regular switch to power a new fan. Im just not sure where to go from here. I have the hot from the outlet getting pigtailed to 2 wires to each switch. The hots to the light and fan are also on the switch. The neutral whites from outlet, light and fan are all spliced together, as well as grounds. The 3 way works fine, but the fan when turned on by the switch turns the light on ans sometimes a little dim. What am I doing wrong? any help with a diagram?