How do you vary dialogue within stories? I often find myself writing "'sentence/dialogue' said character", and it sometimes gets really repetitive. How is this managed?

These are the only words that I can think of that can be used alternatively, but I don't find this problem when reading books. 

* said
* replied
* agreed