What recovery are you using? Even if you wiped the phone you should still have it running. All you need to do is reboot in recovery mode. Hard to tell you how as I dunno what the phone is.
Before that you'll need to download your stock firmware and put it on the root directory of your SD card if you have one, so that once in recovery you'll actually have something to flash.
If the phone doesn't have a SD slot, then you'll need to use a recovery tool on your PC to flash it.
Right now shut the phone down, remove the battery, find some guides specific about your phone, and read them carefully. There's a reason why we're using recoveries. First thing you should have done is to backup your stock firmware somewhere on your computer or on the cloud, and make sure you knew how to use it if something like that was to happen... Little late for that now.
When you'll know what to do, just mind that you still have enough battery to flash the stock ROM. Come back to ask help here if there's something you don't understand. Good luck!