There is no information that shows that taking either ibuprofen or acetaminophen after the vaccination change how well the vaccine will protect you. Both medications may provide some relief from common side effects, including soreness at the injection site and mild fever.