Respawn? c#

Im trying to make a respawn using c#. when player falls i want him to respawn heres the code im using

using UnityEngine;
using System.Collections;

public class Respawn : MonoBehaviour {
    public GameObject respawn;
    public GameObject[] respawns = GameObject.FindGameObjectsWithTag("Respawn");
    void Example() {
        foreach (GameObject respawn in respawns) {
            Instantiate(respawn, respawn.transform.position, respawn.transform.rotation) as GameObject;

defo doing something wrong here but dont what

Making a character respawn in Unity 3d game engine