That sounds like a blood feather and it needs to be removed by someone that knows how like a vet or trained bird handler. Blood feathers can be deadly because cockatiels don't have a lot of blood and even a little blood is a lot to them. If the feather has clotted and stopped bleeding it can break open and start again. The broken feather must be removed.