Endometrial biopsy is a procedure used to study the lining of the uterus. It is usually done in your healthcare provider's office.