If your diagnosis came to be viral meningitis, then usually you will not require any treatment and will only need observation, generally at home, to ensure your case does not get worse. You will usually recover after a week or 10 days.
If your case requires treatment, you will usually get antiviral drugs, especially if the virus causing meningitis is influenza.
Until now, there is no vaccine for non-polio enteroviruses, despite being responsible for most of the viral cases of meningitis.
You still can protect yourself by maintaining a good immune system through proper eating habits, self-care, and staying away from people who have viral meningitis until they get better.
Fortunately, there is a vaccine for some of the other viruses that can cause viral meningitis: