ok i just swapped an ls into my hatch and my check engine light came on. i checked the code and its

CODE: 1 (Oxygen Sensor "A" (Primary) defective circuit or unplugged / defective sensor)

anybody know how can i fix it?