Ideally, you should use fruit that is more ripe (leaning towards overripe). This is because ripe fruit will be sweeter and release more juices. The pieces of fruit will also be softer and break down easier. You can use underripe fruit, but you may want to add more sugar and the final result may have firmer chunks of peach.