The present invention relates to methods and devices for treating variousdysfunctionalbodily functions through the use of targeted ablation using a combination ofelectromagneticradiation and nanoparticles. There is provided a method for locally heatingtissue within thebody, the method comprising the steps of attaching one or more nanoparticlesto a deviceadapted to be inserted into a body, inserting the device into a body, andexciting thenanoparticles on the device by applying thereto electromagnetic radiation fromanelectromagnetic energy source.