Gently touch and squeeze it with your fingers (never squeeze it hard, it bruises easily), it has to be slightly soft. Even if you buy unripened peaches, don't worry, they continue to ripen at home (leave it at room temperature for a couple of days).