It means usually a person will think of themselves before the other person. When getting a gift you will receive it before handing the person your gift.
I take medicine before I get well; lessons before I get skills; a shower before I get clean; a bath before I get relaxed; a nap before I get rested; and time before I get angry.