Bob and Weave and slipping punches.

Learn to block first because if you dont have the timing to block punches and counter then you wont have the timing to slip a punch and counter.

Learning to time punches and block them will help you develop the timing to slip and counter.