cross that bridge when you come to it
definition
to deal with a problem only when it arises
example
Let’s cross that bridge when we come to it instead of worrying now.
word origin — From a Longfellow poem (1851) — there's no point worrying about a future bridge until you actually arrive at it.