Welcome to NICO!
What specific code did it read?
Did you replace the whole distributor? And is it still turning over? If you replaced the distributor and didn't place it in exactly the way you took it out, you wont be getting her going at all.
Be safe with continual start attempts, don't depress the accelerator pedal. I blew my exhaust up from messing with the distributor. The fumes caught spark in the muffler and BOOM. The whole neighborhood came outside.

Sounded like a bomb went off. Luckily, I have my hearing still.
Javin