Rosie Elliot, owner of Kitchen Appliance Answer recommends, 'As a preventative measure, invest in mesh drain covers to catch food scraps and hair.' You can find mesh drain covers at Walmart.
'I also recommend pouring 1/2 cup salt down the drain weekly to scour and deodorize.
'Pro tip: avoid pouring fats and oils down the sink – they solidify and cling to pipes,' adds Rosie Elliot.