Reassure your child and sit with your head leaning forward to prevent blood flow into your throat, causing vomiting.
Then compress the nostril that bleeds between your thumb and your index finger at the edge. Allow at least five minutes. You can introduce into the nostril a haemostatic ointment to stop faster blood flow.
If the bleeding persists, it is better to seek medical advice.
More about nosebleed