This is an irregular verb. It follows the conjugation pattern of the verb reír.
PresentPresente
La profesora sonríe cuando entramos a clase.
The teacher smiles when we come into class.
PreteritePretérito indefinido
Los abuelos sonrieron al ver las fotos.
The grandparents smiled when they saw the photos.
ImperativeImperativo afirmativo
Por favor, sonríe para la foto.
Please smile for the photo.