Choose the correctly punctuated sentence

A) if a driver gets lost on the road, a gps can be useful.

B) if a driver gets lost on the road a gps can be useful

A) If a driver gets lost on the road, a GPS can be useful.