Starting and Running Problem...

Thanks everyone for the input. So I checked under the distributor cap and everything was fine. Made sure all the spark plug wires in the right place. So now I am going to try adjusting the valves. The engine is warm and I have removed the valve cover. How do I adjust the valves to .010 on the intake and .020 on the exhaust?