In some instances, people with TB are hospitalized, but it’s not usually necessary and may only be for a short period when it is needed. You should isolate yourself at home, however, until your healthcare provider is sure you're no longer contagious, which will be several weeks after starting treatment.