The invention relates to a method for preparing a composition for treating a tooth lesion, said composition comprising peptides that are capable of undergoing self-assembly at a certain pH. The compositions of the invention are highly suitable for being used in the medical field, in particular for remineralising a tooth lesion such as a subsurface caries lesion.