How do I redirect users only after the first login?

There are several solution for redirecting users in general. However, I am not sure how this is done only for the first login.