Threading at Home

How exactly is threading done? Could anybody walk me through it?
Are there any step-by-step guides out there?
Also, exactly how painful is it in comparison to waxing? I know it’s supposedly less painful than waxing, has anybody here tried both and can verify this?
How long does it take?