Salt water will permanently kill a phone after it’s exposed to water inside the phone , phones are water resistant but not water proof.
if your phone has water inside if needs to be opened and cleaned quickly before any corrosion begins or short circuits.
do not keep trying to use phone hoping it will start working just doing this while it’s wet can zap circuits .
Get it to a repairer and get it opened up for assessment but it dies completely.