If you are being tested for pulmonary TB, the AFB culture is done on phlegm (sputum) coughed up from deep inside your lungs. You will provide sputum in a sterile cup at least 2 days in a row, preferably early in the morning. A healthcare provider may help you get a good sputum sample.