auto play

how do i stop and prevent annoying videos, audios and gifs from automatically playing when i visit websites