They are generally interchangeable. If one person did all the talking, talk to might be preferred. If you wanted to emphasize that it was a discussion involving both people speaking you might prefer to use talk with , but I talked to her yesterday doesn't necessarily mean that she didn't say much.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.