adverb: used to introduce a statement that contrasts with or seems to contradict something that has been said previously
The weather was terrible; however, we still had a good time.
adverb: in whatever way or manner; regardless of how
However you choose to proceed, I will support your decision.
conjunction: to whatever degree or extent; no matter how
However hard he tried, he couldn't solve the puzzle.