I just got a new rosemary plant from my mother-in-law. It smells amazing , but it needs some work if it is going to survive. (pictures and garden update soon). I found a short but informative posting on Gardening Know How about caring for rosemary.
Rosemary thrives in a warm climate but likes dry soil. So it should be dry before watering again. Pruning is necessary for most plants, rosemary should be trimmed just above the base of a leaf joint. The article notes that no more than one third should be trimmed at a time. Rosemary needs between 4-6 hours of sunlight.