Well, obviously it’s up to you. My own preference is to do one of
determine the gender of the person you’re referring to
use a gender-neutral pronoun
restructure the sentence so as not to need a gendered pronoun
use a construction like “he or she”
in preference to possibly misgendering someone, since I know some people find that very unpleasant. But if those are all too much trouble, fair enough.
Well, obviously it’s up to you. My own preference is to do one of
determine the gender of the person you’re referring to
use a gender-neutral pronoun
restructure the sentence so as not to need a gendered pronoun
use a construction like “he or she”
in preference to possibly misgendering someone, since I know some people find that very unpleasant. But if those are all too much trouble, fair enough.