I think my period has just finished but there's this brown discharge which smells funny what could it be a sign off?

Old blood/tissue. During your period, the lining of your uterus is shed and expelled through your vagina as red blood and tissue. At times, some blood is retained in the vagina and turns brown, before leaking out. It is nothing to worry about. Take Care!