Want to show random posts in the slideshow

On the homepage slideshow how do you make random posts appear rather than having them appear in order?