How do i resync my xbox 360 controller with my xbox360 after plugging it into the computor?

i plugged my wired 360 controller into my computor and now when i plug it in all of the 4 slots light up and wont stop flashing. i dont know how to resync it. please help if you know how to fix it
4 answers