Answer:
You shouldn't. He's your Ex for a reason and unless you plan to get back with hin you shouldn't be talking, jsut move on. But Iwouldnt be helpig if I didnt give tips so here: If you guys are still friends you could just say something like "Hey whatsup?"