There was war again: and David went out, and fought with the Philistines, and killed them with a great slaughter; and they fled before him.
David escaped that same night, as indicated by the next verse, and thus his first escape was from Saul's murderous presence to his own residence where he and his wife Michal lived.  Later that same night he fled from the city where Saul was.