Depends what the gift is. Is it lingerie you want her to wear? Before. Is it a snack? After.
Is it a first visit? Both have their advantages. Is she your regular? Then whenever you see fit doesn’t matter.
if it’s breakable, edible, gives bad breath or personal for her own TLC, after. If it’s...