You may need any of the following tests: 1  Lab tests: These may be done to find if your proctitis is caused by bacteria or allergies. A sample of your blood, stool, or discharge may be taken. 2  Allergy testing: This may be done if your healthcare provider thinks your proctitis is caused by a food allergy.