It's called the 3-2-1 rule, and it's the easiest way to remember the regulation. To recap, if the weather at your destination isn't at least 3 SM of visibility and 2000' AGL ceilings from 1 hour before to 1 hour after your ETA, you need to file an alternate.