You can only use a semicolon when you have an independent clause on each side.
The dog played outside while it was raining; he tracked mud throughout the house.
SAT Practice