Firstly, ‘speak’ is more formal than ‘talk’. For example:
Secondly, ‘talk’ is most often used to describe a long (or longer) conversation. For example:
(Note that when you use ‘tell’, the object’ – ‘me’ and ‘you’ in the above examples - comes immediately after the verb.)
You can also use ‘say’ to give an opinion. For example: