Hmm, that depends on what you actually mean Stand by someone as in support someone or stand by someone as in stand near someone? Anyway,

if the latter: Она стояла рядом со мной
if the former: Она поддержала меня (в трудную минуту)