Did you fry them in oil?
If so, you must make sure the oil is hot enough before you put the fish in the oil.
To check if the oil is hot enough, put a “small” drop of water in the oil. (special emphasis on “small”)
If the oil immediately starts to splatter & spit, its hot enough. If it doesn’t cause much of a reaction, you need to heat the oil up some more before frying the fish.
Fish fried in oil thats not hot enough makes for soggy fish!