There are types of freshwater river dolphins in the Yangtze (well, one of these species probably is extinct there as of recently but still) and the Amazon, for example. Sea dolphins can survive in freshwater for awhile but their skin isn’t adapted to it, and it will get damaged eventually. That and the difference in buoyancy in sea water vs freshwater leads to the sea dolphins eventually getting exhausted in freshwater.