My friend (who a few days ago started asking about my genitals) decided it was a good idea to tell my Creative Writing teacher that I'm a woman half the time. I'm trying to be more open, but I don't want to be outed by him, I'd rather make that decision myself. I had no intentions of telling my teachers at all.
tell him that you don't want him telling anyone about you. make sure that he know that it's your choice not his.
Agreed with above - be firm and honest but kind. He should have enough respect to do that for you if he is truly your friend.