A device and method for transvaginal or transrectal treatment of a bladder pathology. The device includes an elongate body that includes a longitudinal axis, a handle at one end of the body, a head at the other end of the body, and a shaft between the handle and the head. The head includes a substantially flat surface and one or more retractable needle electrodes extending through the flat surface. The method includes inserting a probe into a vagina or rectum of a patient, where the probe includes a head portion comprising one or more retractable needle electrodes; heating one or more pelvic nerves supplying the patient's bladder by emitting radiofrequency energy from the one or more needle electrodes; and as a result of the heating, damaging the one or more pelvic nerves.