If I keep heat on an infected ingrown hair, how long until it drains?

Few days. If it does not drain after a few days I would see a dermatologist for an oral antibiotic.