ad-hoc

US /ˌæd ˈhɑːk/
UK /ˌæd ˈhɑːk/
1.

AD hoc

made or happening only for a particular purpose or need, not planned before it happens:

:
We deal with problems on an ad hoc basis (= as they happen).