The little word si means if and it works just like in English!
But remember that sí with an accent mark means yes!