The method includes a step of introducing into the reservoir, via a well, a mixture comprising a scale inhibitor, a first scale precursor and a second scale precursor. The first and second scale precursors can react together to form scale. The first scale precursor may be an ammonium salt. The method can further comprise a step of stopping the introduction into the reservoir of the mixture and shutting in the well for 2-24 hours, and a step of introducing into the reservoir a further mixture comprising a scale inhibitor, a first and second scale precursor which can react together to form scale. The steps of stopping and resuming the introduction of mixtures may be repeated at least once. The components of the mixtures may be provided as concentrated solutions and diluted in a stream of water prior to being introduced into the reservoir. The method provides an effective way of generating a barrier to fluid flow in a reservoir. The method may be a method of abandoning an entire well in a reservoir.