You can try soaking your toe in a warm epsom salt solution to soften it.
Make sure you clean and dry it well. In many cases that will help, but often you may need to get it treated by a podiatrist. What you should not do is try to cut it out yourself.
Ingrown toenails are easily infected, so if you notice it red, swollen, or giving off a discharge you need to see a doctor.