my toenails are turning hard and brown how do i fix it

Ny toenails are hard and Brown. They are getting thicker as well