Semicolon use is really tricky. Some people (myself included) just avoid them. I wrote a 90 page thesis in order to graduate from university, and I probably used just two or three semicolons in the whole thing.
There are a few things you should remember, though.
If you have two independent clauses with a coordinating conjunction between them use a comma before the coordinating conjunction (no semicolon). Like:
“I will go to the restaurant tomorrow, and I plan to order a hamburger.”
If you have two independent clauses and there is nothing between them, use a semicolon. Like:
“I will go to the restaurant tomorrow; I plan to order a hamburger.”
If there are two independent clauses and you have a conjunctive adverb between them (the sorts of things we usually refer to “transitional phrases” in this group like moreover, therefore, consequently, thus…) use a semicolon before the conjunctive adverb, and a comma after the conjunctive adverb. Like:
“I will go to the restaurant tomorrow; moreover, I plan to order a hamburger.”
“It is raining today; therefore, I will go to the restaurant tomorrow.”
Part of the problem is that a lot of native speakers (myself included) often forget about the semicolon in the last example and just use a comma after the first clause. As in this incorrect sentence:
“It is raining today, therefore I will go to the restaurant tomorrow.”