why the first attack of the chicken fox gives the total immunity yo the chicken fox?

Do you mean chicken pox?

http://www.google.com/search?q=chicken+pox&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

If you mean chicken POX, you'll find your answer in thi site.

http://kidshealth.org/parent/infections/skin/chicken_pox.html

Not always. Once you get the chickenpox, the virus lives in you forever, kept in check by your immune system. Later in life, if your immune system goes haywire, the chickenpox emerges as shingles.

If you get the chickenpox early in life, and have a mild case, the immune response may not be great, and as a result, you can get chickenpox a second time.

To understand why the first attack of the chickenpox virus grants immunity, we need to look at how our immune system works when it encounters a virus or infectious agent for the first time.

When a pathogen such as the chickenpox virus enters our body, our immune system recognizes it as foreign and mounts a response to fight it off. One arm of the immune response is the production of specific proteins called antibodies. Antibodies recognize and bind to the virus, marking it for destruction by other immune cells.

During the first encounter with the chickenpox virus, our immune system is learning how to effectively fight it. The immune system produces antibodies that are specific to the chickenpox virus, but this process takes some time to ramp up. As a result, it can take several days for our immune system to manufacture enough antibodies to effectively control the viral infection.

However, once our immune system successfully fights off the initial chickenpox infection, it doesn't stop there. It retains a memory of the virus. The immune system recognizes the specific antigens (pieces of the virus) associated with the chickenpox virus and stores this information for future encounters.

When a person is infected with the chickenpox virus for the second time, their immune system can quickly respond by producing a large amount of specific antibodies targeting the virus. This rapid response is due to the immune system's memory of the previous infection. As a result, the virus is attacked and cleared more efficiently, often before it can cause symptoms or a full-blown infection. This is why subsequent encounters with the chickenpox virus typically result in mild or asymptomatic cases.

In summary, the first encounter with the chickenpox virus primes our immune system to recognize and remember the virus. Subsequent exposures trigger a rapid immune response, leading to quick control and clearance of the virus, providing immunity against future infections.