Ectopic Pregnancy

Sarah
My dr says I might be having an ectopic pregnancy. I thought I had a miscarriage and passed everything last week but went for a follow up appt and u/s and my hcg levels are higher with no sign of a baby in my uterus. 
If you've had an ectopic pregnancy, did your body just get rid of it or did you have to go have surgery to remove it?