If you have herpes, then do you have it forever?

Yes. Herpes is a virus that lives in a nerve cell. There is no cure for it yet. But it can be suppressed and kept dormant causing no symptoms.