Words like however, therefore, moreover, consequently, and for example are not FANBOYS conjunctions. They can't join two sentences with just a comma.
Between two independent clauses: semicolon (or period) before, comma after. Inside a single clause: commas on both sides.
IncorrectThe data were promising, however, more trials are needed.
CorrectThe data were promising; however, more trials are needed.
CorrectThe data were promising. More trials, however, are needed.
Tip When the choices differ only in where the punctuation goes around a transition word, first find the two clauses. The transition belongs to the second one.