Does a damaged liver to repair itself?

To some degree. The liver does have a remarkable ability to repair itself, but it is not unlimited. It depends on the cause of the damage, length of exposure and whether the damaging problem can be stopped. Over use of alcohol, can be stopped, other causes, such as autoimmune causes not so much. The key is to find and treat any fixable causes before the liver's ability to repair itself has been exceeded.