Silver nitrate treatment. And lining biopsy, confused?!

Hi all, Had appointment with Gyne on Friday and was told she was taking a sample of my lining? I'm not entirely sure what the procedure was called or what it entailed? Does Anyone  have any experience of this? She didn't really explain what was going to happen, but all I recall seeing was a flexible plastic tube which I imagine is what she took the sample with. Felt Cramps for a few hours after and have had slight bleeding. What could this hav Been? She also said I had a slight area of ectropion. She said she used silver nitrate on this but again didnt really explain what this was for. Has anyone had a procedure similar to this? Confused as to where biopsy had been taken from?