Dip the peppers in water and leave them there. If they become moldy and go bad, you cannot eat them. If they are not moldy and go bad, you can eat them.
What you mean is how long it can be stored after being exposed to water. It also depends on the situation. The weather is dry, the temperature is not high, the ventilation is good, and there is no accumulation. It can be stored for 15-30 days. On mildewy rainy days, with high temperatures and poor ventilation, accumulation can last up to three to five days.