when i wire these together the light stays on. help
Should be a switch somewhere, if not you would need to install one.
the black wires supplies power, the white is your safety. don't wire white and black together. on the fan you are installing, normally, one black gives power to the light ,the other to the fan. you must connect white to white and black to black. hope this helps
blacks to blacks, whites to whites