Hey bro, same thing happened to both my big toes from playing football on a turf field. I went to the ER and they pierced them both with a hot metal point. A few weeks later they both fell off, painlessly. One toenail grew back perfectly, the other one ended up ingrown a few months down the road...and it hurt badly. I needed surgery on that one.
For now, soak that foot in a warm solution of water and epsom salt (available at any grocery or pharmacy). This will soften the nail bed and prevent infection. Hopefully the nail won't fall off...if it does no big deal, just don't trim the corners your nail (where it meets your toe).