The best way to correct the run-on sentence is:
"Leila's doctor told her she needed to drink more water; however, she only liked to drink soda."
This revision separates the two independent clauses with a semicolon and adds a comma after "however." This helps to clearly distinguish the two clauses and to make the sentence easier to read and understand.