The jail probably has a protocol for sending mail. Usually it is pretty simple - you send mail to the prisoner, care of the jail, and after a security check it is passed to the inmate.

If the jail has issued a number to the inmate (or for people incarcerated in state prisons), it is a good idea (and may be required) to include the identification number on the envelope after the prisoner's name.