Welcome to TFP!!!
We are going to need much more information to help you.
Start by telling us:
what type of pool you have
what your current water test results are
and more information about the staining ... how did it form, what does it look like, what does it feel like,
We need to figure out if it is organic or metal related to then recommend a course of action.