How to set default program to open files

Hi all,
I have installed a lot of photo editing software in my computer and I mostly work on pictures. I have a lot of pictures to browse, but by double clicking it, it uses adobe Photoshop to view the file, which takes longer time to open. What I want to use is the windows photo gallery.
How can I make windows use the photo gallery whenever I will double click it?
Thanks.
