what is my vagina doing ??

it’s a lot so pls bear with me!!

i’m on birth control and recently had unprotected sex. after that happens i stop taking it to jump start a period (weird i know). then i had what i assume was a yeast infection (research and asking my mom) and i didn’t take anything for it and now my period is here but my blood is brown and basically i’m asking

is brown blood bad

and

can your yeast infection just go away ?

like i literally feel back to normal