1) stop the bleeding as much as you can
2) call an ambulance
If you can’t stop the bleeding quick enough or don’t know how, or you’ve lost too much blood, call the ambulance first so if you pass out from blood loss before you can stop it, help will already be on it’s way