Coding for mp3 trigger and PIR sensors

Need help ASAP! I am new to all of this and am currently trying to find a code to have mp3s triggered in random arrangements each time with motion triggers them. Please - if anyone has a code they can suggest, it would be greatly appreciated!