It takes about two weeks between hepatitis B second shots before you can get the pentavalent vaccine. The main component of the hepatitis B vaccine is hepatitis B virus surface antigen, which is used to prevent hepatitis B virus infection, and after vaccination, the immune system can be stimulated to produce protective antibodies. After the second dose of the hepatitis B vaccine, an interval of about two weeks is required before the pentavalent vaccine can be administered. Pentavalent vaccine can reduce the incidence of gastroenteritis and other diseases caused by rotavirus infection. If you have fever or acute infection before vaccination, you need to wait until you recover. If you have had an adverse reaction after the second dose of Hepatitis B vaccine, you should inform your doctor so that he or she can decide whether or not you can receive pentavalent vaccine under such circumstances to avoid any adverse consequences. Regardless of which vaccine is administered, it is necessary to observe for about 30 minutes after vaccination, and then leave if there is no abnormality; if there is any discomfort, it is necessary to consult a doctor in time for treatment.