You need to explain what you are working on. Stock sending units did not have wires coming out of them. There was a stud for the sender wire and it was grounded with a mounting screw.
If you are using an aftermarket sender you need to be sure it reads from 0-30 ohms.