When a word is after the conjunction y and begins with the letter i, we need to change the conjunction to e.
Pedro y Javier están en mi casa.
Pedro e Ismael están en mi casa.
When a word is after the conjunction o and starts with the letter o, we need to change the conjunction to u.
¿Quieres queso o cacahuetes?
¿Quieres queso u olivas?