Speed Sensor issues

Anyone have trouble with Garmin speed sensor not connecting properly? I am using my iPad and iPhone for zwift and my speed sensor was not working right. I even changed the battery. At first it would not start the ride but once started my speed was not consistent. Thoughts? Open to suggestions!!

Need more info about your equipment. What sort of speed sensor, for example?