There are several ways to preserve herbs. Among them are drying, freezing, dehydrating and freezing in oil. Here are some great articles that provide tips on drying and preserving your herbs.
This first method is from Food52
This is really quite simple and you will enjoy having the fresh herbs from your own garden for a long time.