Preventing pregnancy during cancer treatment