WIRING CONNECTIONS OUTSIDE JUNCTION BOXES
Whether you’re installing a new ceiling fan or an outlet, wire connections must be situated in a junction box (a metal or molded plastic box attached to a wall stud) to reduce the risk of house fire.
That’s why many communities require that a professional make any alterations to wiring. Always call an electrician if you suspect you have faulty wiring in your home. After all, better safe than sorry.