“Whoever sits in a gathering which indulges in useless talk and before getting up,he supplicates the following, he will be forgiven for (the sins he may have intentionally or unintentionally committed) in that gathering.”[Sunan Tirmidhi: 3433 … Sunan Abu Dawud: 4861]
اَنْلَا اِلٰهَ اِلَّا اَنْتَ اَسْتَغْفِرُكَ وَ
Glory be to You, O Allah. And by Your praise I testify that none has the right to be worshipped but You, I seek Your forgiveness and turn to You.
Even sitting down for a meal with one friend or your spouse is a gathering, so memorize this du’a, use a note in your house or reminder on your phone and take the chance to be forgiven for the sins you committed in that meeting.