From the photo it appears that your plant is a Nepeta, or catmint with soft, gray-green foliage and spikes of lavender-blue or white flowers that emerge in late spring or early summer. If you run the leaves between your fingers, they give off a strong smell. It grows best in full sun and is drought tolerant once established. The crushed leaves applied to your skin is a natural bug deterrent. Catmint flops as the first flowers go by, and is even more prone to doing so when grown in part-shade or very rich soil. Grow it in full sun and keep it on a leaner diet if you want it more upright. Also, nepetas are one of the perennials that can get cut to the ground as the first flowering fades. The new foliage will return in a couple of weeks and it will be shorter and tidy.