According to an aspect of some embodiments of the present invention there is provided a probe sized for insertion into a uterus, the device comprising at least one ultrasound element adapted to emit ultrasonic energy, the ultrasound element disposed on a distal end of the device at least one ultrasound receiver adapted to receive ultrasound energy, the ultrasound receiver disposed on a distal end of the device and circuitry adapted to automatically estimate a thickness of a uterine wall according to the received ultrasound energy.According to an aspect of some embodiments of the present invention there is provided a method of treating an inner wall of a uterus comprising automatically measuring a thickness of a uterine wall according to ultrasound energy emitted from inside the uterus and providing an output of the thickness.