Thanks for writing. It's all right to cut the flower stalks off your hosta at any time. Some gardeners do it as the stalk develops; others do it when the flowers are in bloom (because they use them in cut flower arrangements); and others do it after the flowers have faded. Anytime works just as well as the others.
---Justin, Senior Garden Editor, BHG.com