Most common cause of this is the connector and light cluster pins on one of the rear light units.
Best bet is to remove them and have a look, if their really corroded it will need a new cluster and connector, if not too bad then you can try cleaning up the terminals and see if the fault stops.