If you rip your toenail off you're likely gonna experience some pain for a short while.
After your toenail gets ripped off you should keep the area dry.
Your toenail will eventually start growing back and you should have a full toenail grow back in it's place in 6 months to a year.