Cross that bridge when you come to it

Meaning: To deal with a problem when it actually happens rather than worrying about it in advance.

Example: We might have a problem next year, but we will cross that bridge when we come to it.