If your network is constantly changing, with new computers being swapped around and new machines connecting to different switch ports, then yes it's a good idea. Probably once a month or so, depending on exactly how fast the network changes.
BUT, if you don't connect lots of new PCs and everything kinda stays where it is, then I wouldn't bother with it very often. Maybe once every 6 months. And it's worth noting that things will slow down a touch after you've done it until the switch builds up its map again.