Callers hear an echo when they talk?

I have a iPhone 4s and when ever someone talks they hear a really bad echo. I don't hear anything and sometimes when I talk thy can't hear me. Is there anything I could to to fix this?

That happens sometime when you are connected to Wi-Fi and using it to call.