You can use "however" when you want to indicate an idea being different from another or that is contrasting. It is usually synonymous with "but."
"I love vanilla ice cream; however, I love chocolate more, so I will have chocolate."
"I'm only 19 - I am, however, very mature for my age." (this sentence could also be written "I'm only 19 - but I am very mature for my age.")