Waking up

My 16 month old keeps waking up in the middle of the night. Any tips on preventing this? I also have to pat him to sleep every night. What’s your routine?