How is the cause confirmed?
Where the stain is and when it grows narrow it down; a moisture reading and a look at the floor, roof or wall above confirm it. Nothing is opened until the cause is clear.
For a toilet above, a controlled water test on its floor shows whether the ceiling darkens. For a roof, the outlets, parapets and membrane are checked after rain.