think ahead
US /θɪŋk əˈhɛd/
UK /θɪŋk əˈhɛd/

1.
to plan for the future; to consider what might happen in the future and make preparations for it
:
•
It's important to think ahead when planning a big event.
•
You need to think ahead about your career goals.