The procedure can be performed in an office setting or in a hospital. It involves inserting a thin, flexible tube through the cervix into the uterus. Suction or a small brush is used to collect a sample of the endometrial tissue. Techniques vary, including endometrial biopsy, dilation and curettage (D&C), and hysteroscopy-guided biopsy.