What a man and woman should do, in terms of warding off Magic, if they meet on her way up from the Immersion: Pesachim 111a
What happens if a person is unsure whether his immersion was good, or whether the ritual bath he used was proper: Eruvin 35b-36a