If you have a tooth that is hanging by a thread then you may be able to simply pull the tooth out with your hand.
However I would not recommend doing that as you could cause an infection and get sick.
I would recommend going to a dentist and have the dentist pull the tooth out even if it's just hanging by a thread.
The dentist is skilled at pulling teeth and can easily and more safely pull the tooth out.
But if the tooth is loose enough and you can wiggle it back and forth easily then eventually the loose tooth hanging by a thread should come out.
But if the tooth is causing pain when you try to pull it then don't pull it and just keep wiggling the loose tooth until it does fall out.
I've pulled my own baby teeth when I was 7 years old and was losing my baby teeth.
If you feel pain when trying to pull the loose tooth then stop and wait a while longer.