I had this too, but was not detected until 9 weeks after bub was born! I have seen this procedure done as I am also a nurse. Sooo you will be put under a general anaesthetic and whilst under they will use a suction type instrument that will be inserted into your uterus. It's called a "dilate" because they dilate the cervix and a "curette" because they used to scrape it out (sorry if TMI) but I think they usually just suction now. It generally only takes about 15 minutes. Expect afterwards to have very bad cramping/pain immediately after, but they can give you pain medication for that. I found that on the night of the surgery I had cramping similar to that of a very bad period but neurofen was enough to settle it down, then mild cramping for a few days after. You can have bleeding for up to 10 days, but maybe longer as you are only 2 weeks pp? Expect to feel very dazed after your general anaesthetic. If you haven't had one before, it just makes you very very sleepy, uncoordinated and you might ask the same questions a few times. Make sure you have your partner or another adult do all the baby care... please don't try and carry your baby yourself that night as you may drop him. I fed lying down in bed, but had hubby stay with me so I didn't roll on bub.
It's not a nice thing to go through so soon after giving birth, but after it was all over, I felt great! The infection settled down and my body finally started to recover from the birth.
Good luck and try not to worry too much