It is generally better to read physical books before bed, as electronic devices emit blue light that can interfere with your circadian rhythm and make it harder to fall asleep. If you prefer e-books, try using a device with a blue light filter or reading in a different room.