You need to do 3 take off and landings, one of which needs to be at night (if you want to take a pax at night), all within the last 90 days.
(Although if you've not flown for a year, might be better to go up with an instructor - the landings still count regardless who is PIC, the key being "as sole manipulator of the controls" or words to that effect).