Q.My Esperanza Plant, In A Container, Was Brought In The House But The Flowers Are Gone And It Looks Straggly.
How do I take care of the plant now that it\’s in the house?

Certified GKH Gardening Expert
You can prune it to reduce some of the scraggliness. If you are just holding it over till you can get it back outside in spring, water it just enough to keep it going. Place it near a south facing window, if possible. There won't be enough light for it to bloom indoors. If you want to try for blooms, you will need to invest in a grow light.
https://www.gardeningknowhow.com/ornamental/shrubs/esperanza/pruning-esperanza-plants.htm
https://www.gardeningknowhow.com/houseplants/hpgen/what-are-grow-lights.htm