What is provided is a method and apparatus for modifying bladder function comprising: applying a dermal patch having an integral electrode in proximity to a sacral or pudendal nerve; selecting the sacral or pudendal nerve by a sensor integral on the dermal patch; determining a stimulation corresponding to the sacral or pudendal nerve, by logic of the dermal patch; applying the stimulation by the electrodes and a stimulator integral to the dermal patch to produce an electric field; and selectively activating the sacral or pudendal nerve by the electric field.