For example:
* "I was planning to go to the beach, however, it started raining."
If you want to use "however" at the end of a sentence, you would need to restructure it. For example:
* "It started raining, which was unfortunate, however."
In this case, "however" modifies the phrase "which was unfortunate" and clarifies the speaker's feeling about the rain.