I had a bf with that problem when we first hooked up. He told me when we first started dating and he was trying to not be humiliated by an erection he would visualize his crotch being full of ice cubes. Or a train running over his pecker. Or his mother staring at him disgustedly. That sort of thing. Drastic but effective, and after we'd been intimate for a while no longer necessary as the problem solved itself after a while. But anyway yeah--visualization was key.
Could try masturbating as much as possible previous to when you see her, as I'm sure you've figured out. But this isn't a perfect solution, as semi-erection remains for a bit after you do that. And if you're an adolescent (as I'm guessing you must be) you recover very fast and there you go again. Sigh.