Hi and welcome to the forum
Sorry to hear about the dead fish
Hopefully we will be able to find the problem and get you back on track.
You need to get the water tested by a professional lab that specialises in testing water. It might cost a little bit of money but for your own safety and the fish, you need to find out exactly what is in the water. The well could be contaminated by chemical runoff or something worse and that might be poisoning the fish and you and your family.
This would be the first thing to check, just so you know you have a good safe clean water source to use.
You can take a sample of well water and tap water that has gone through the filter to a pet shop and ask them to check the pH, GH & KH. Ask them what the results are in numbers, and what the results are measured in (eg: ppm, dGH, or something else).
Well water should not contain chlorine or chloramine and you do not need a dechlorinator for it. Some water conditioners bind heavy metals and make the water a bit safer for the fish, and this might be useful if you have heavy metal contamination in the water. But get the water tested first so you know what you are dealing with.
Don't get any new fish until this problem has been sorted out.