Keep in mind that I ride practically every day, so adjust this to what you do:
You can start a "taper" 2-3 weeks before your big race. Typically this is done by reducing your weekly volume by 20-30% per week, but don't reduce your frequency. In other words, if you ride 4 days a week, keep riding 4 days a week, just not as long. You should put in a hard effort every 48-72 hours, with the rest of your rides being easy-schmeasy.
Here's what I do the week of a big race I'm tapering for, or a race that's in a rest week:
Race intervals: 1:30 (one minute 30 seconds) at race pace or slightly higher, followed by 3 minutes recovery. Do one of these for each day you have left before your race. In other words, if the race is on Sunday, do 5 Tuesday, 4 Wednesday, 3 Thursday.
Take Friday off.
Saturday is your pre-ride, if possible. I like to do "openers": 1 minute at race pace (on), 1 recovery (off), 2 on, 2 off, then 3, 4, 5. Recovery time equals work time.
If you rest completely, you'll be flat come race day. The idea is to do just enough work to keep your legs loose and ready for the punishment you're going to inflict on them, but no more.
The mental/stretching exercises they mentioned are always a good idea.