Change Postgresql version

Hello. How could I change Postgresql version? ,currently I have installed from 9.1 to 9.5 version. I would like to create databases only in 9.3 version.
Thanks in advance.