The UK resuscitation council has an algorithm for newborn resuscitation.
Following birth, the first step is to dry the baby maintain temperature and start the clock.
Following this you assess tone breathing and heart rate.
If gasping or not breathing, you open the airway to give 5 inflation breaths.
You then reassess for an increase in the heart rate. If there is no increase in the heart rate you ensure the inflation breaths you are giving are adequate by checking chest movement.
If the chest is not moving you assume the inflation breaths are inadequate and recheck head position, consider 2-person airway control and other manoeuvers and repeat inflation breaths then look for a response.
If the chest is moving but the heart rate is still undetectable or less than 60 beats per minute you start chest compressions at a ratio of 3 compressions to 1 inflation breath (3:1).
You reassess heart rate every 30 seconds, and if it is still undetectable or very slow, you consider IV access and drugs.