Do you talk to the dead?

Well, it could be, I don’t have much knowledge of this. I always thought that any good deed, be it fasting, nafl rakaats, reading of Quran, charity etc. is one thing, then talking to them at the grave/graveyard is something else. Of course I could be wrong.