You need to get a Chilton manual. You should be able to find one at your local library. Find the one that goes to your vehicle and engine, and photocopy the page that shows the firing order, and how the spark plug wires go on. In the future, change one spark plug wire at a time. Don't just pull them all off.