The sentence you've provided does not use a semicolon correctly. A semicolon should be used to connect two independent clauses. A correct use of a semicolon would look like this:
"We have to finish our homework; then we can go to softball practice."
In your original sentence, a comma would be more appropriate:
"Before we go to softball practice, we have to finish our homework."