Pansies are hardy plants. They are typically one of the first type of annuals planted in the spring. They can also be planted as a fall plant.
They grow great in hanging baskets, pots, baskets, and other containers.
Make sure to give them plenty of sun and water them when the first 1/2″ of soil on the surface dries up.