Use when instead.
But I would use the definite article "the" instead of "a". A implies that it's any supermarket, The is stronger, you mean *THAT* supermarket. They are both correct, but "the" is more natural to me.
Turn right after/at the supermarket. or Turn right when you see the supermarket.