if it was the narrow band which connects just under the urinary hole, and spreads out to join the shaft skin on the underside, this tearing is common. though extremely erotic, it is one of the weaker areas of the human body. it should heal just fine on its own, unless there are two pieces flapping in the breeze, unconnected. in that case, you might need stitches right away.
if it is merely damaged, and not disconnected, you have to leave it alone until it is fully healed.
in my experience, if I masturbated or had sex, the frenulum tore again. it was not until I abstained from all activity, about three months, that it healed. once it healed, it never tore again. good luck with this.