Both! You can add it before - especially if you're using it as a seasoning for raw meat or fish. Or you can add it after if you're using it in pasta or salad.