There is no proven benefit to taking tylenol or ibuprofen as a preventive measure. Side effects of vaccination, if any, are mild in most people. We see no reason to generally recommend a pain reliever be taken before vaccination.