A device and method for reducing and/or preventing fouling of a sensor is disclosed. The method comprises operating ultrasound technology that is submerged or partially submerged into a liquid medium that is responsible for the fouling. The device comprises the ultrasound technology itself. The ultrasound technology may be operated intermittently at high intensity to advantageously provide cavitation of the liquid medium, while avoiding the disadvantages typical of continuously operating ultrasound technology at high intensity. Additionally, the method may be carried out by taking advantage of the piezoelectric property of quartz.