Most herbs like a sunny sheltered position and well-drained soil. Choose a corner of your garden or yard that gets at least 4 hours of sunshine a day. If possible, provide some shelter against strong winds. Hedging or fencing is fine. As most herbs are compact, you can start with a fairly small site and still grow a good number of different herbs.
If growing herbs indoors, choose a window that's in the sun for a few hours every day. A blind on the window would be good to avoid scorching during the hottest part of the day. Also remember that herbs grown indoors on a windowsill dry out faster and therefore need watering more often as herbs grown outdoors.