Chosen Solution

So I dropped my phone in water and put it in rice and i let it sit and when I took it out everything was working but when I put my headphones in it didn’t go all the way including my charger

There is probably a grain of rice inside the charge port. These can be hard to remove without damaging the pins inside so please proceed carefully. Depending on how it is oriented inside, you may be able to pry it out with a toothpick or dental pick but because you inserted the charger, you probably pushed it in all the way back.