Question [Q] Flashing xperia go in wrong ROm

I want to upgrade my phone in kitkat so i flash it in cm11 but after i flash it was stuck in ste i decided to flash it again in stock rom but i put the wrong Rom.My problem now is my phone is not charging when i connect in the charger and pc the led light is green then it becomes red then led is off,ive downloaded the correct stock rom but when i connect it to my pc and flash it.its always disconnecting.