They mean the same thing just different pronouns. Depending on how it's used - you could use the word "alone" to speak about others OR yourself. Whereas "by myself" you are just referring to yourself. You could also say "himself" or "herself". Ultimately they mean the exact same thing just different pronouns.
EX: He went to the movies alone. He went to the movies by himself.
VS I went to the movies alone OR I went to the movies by myself.