At the beginning of your upkeep, if an opponent controls three or more creatures, sacrifice Defense of the Heart, search your library for up to two creature cards, put those cards onto the battlefield, then shuffle.
If this card is not on the battlefield at the time it resolves, then you can’t sacrifice it. You still perform the search and put any creature cards you find onto the battlefield.