There are several things you can do to help boost your immune system and maintain good health:
Eat a healthy, balanced diet that is rich in fruits, vegetables, and whole grains. These foods are packed with essential nutrients, such as vitamins, minerals, and antioxidants, that help support immune function. Try to include a variety of different colored fruits and vegetables in your diet, as each color group tends to contain different types of beneficial nutrients.
Get plenty of sleep. Sleep is an important time for your body to rest and repair itself, and it is essential for maintaining good health. Aim for 7-9 hours of sleep per night, and try to establish a regular sleep schedule to help your body get into a rhythm.
Exercise regularly. Physical activity helps to improve circulation, which can help to deliver oxygen and nutrients to the cells and tissues in your body. It can also help to boost your mood and reduce stress, which can have a positive impact on your immune system. Aim for at least 30 minutes of moderate-intensity exercise per day, such as brisk walking, cycling, or swimming.
Stay hydrated by drinking plenty of water throughout the day. Water is essential for maintaining good health, and it can help to flush toxins and waste products out of your body. Aim for at least 8 cups (64 ounces) of water per day, and more if you are exercising or in a hot environment.
Wash your hands frequently to help prevent the spread of illness. Proper hand hygiene is an important way to reduce the risk of infection and illness. Wash your hands with soap and warm water for at least 20 seconds, especially before eating, after using the bathroom, and after coming into contact with potentially germy surfaces or objects.
Avoid smoking and limit your consumption of alcohol. Both of these habits can weaken your immune system and increase your risk of illness. If you smoke, consider quitting or seeking support to help you quit. If you drink alcohol, do so in moderation, defined as up to one drink per day for women and up to two drinks per day for men.
Manage stress through techniques such as deep breathing, meditation, or exercise. Chronic stress can weaken your immune system and make you more vulnerable to illness. Take steps to manage stress through relaxation techniques, such as deep breathing or meditation, or through physical activity, such as exercise or yoga.
Consider taking a daily vitamin or supplement, especially one that contains vitamin C, which can help support immune function. Talk to your doctor or a healthcare professional about whether a vitamin or supplement is appropriate for you and which one might be best based on your age, sex, and other factors.
It is also important to get vaccinated to protect yourself and others from preventable diseases. Talk to your doctor or a healthcare professional about which vaccines are recommended for you based on your age, lifestyle, and medical history.
I hope this information will enough for you, If you have any question you can ask in following comment box.

