It is generally recommended that people get plenty of rest (ideally 8 hours) before getting vaccinated as this will help their bodies better handle any effects afterward more easily.