Go through these in order and stop at the first one that applies. If you are reading this for someone else, answer for them.
Get emergency medical help if hair swallowing is followed by severe or worsening abdominal pain, repeated vomiting, a swollen abdomen, fainting, blood in vomit or stool, or an inability to pass stool or gas.
These can be signs of a digestive blockage or injury.
Seek prompt medical advice for increasing redness, warmth, swelling, pus, worsening pain, or fever, as these may suggest a skin infection.
Urgent mental health support is also appropriate if you feel unable to stay safe or are thinking about suicide or serious self-harm.
Hair pulling itself is usually not intended as self-harm, but severe distress can occur alongside it.
Arrange a routine appointment if you repeatedly pull your hair, have areas of hair loss, cannot stop despite trying, or feel distressed or limited by the behaviour.
You can also seek help if you are unsure whether pulling is causing the hair loss.
The article also says
Mention any hair swallowing.
A primary care professional, mental health professional, or dermatologist may be involved depending on your symptoms.
Every sign above is quoted from the sofidex article on Trichotillomania. If you are not sure, err upward — it is always reasonable to be checked.