Error on my 2015 1040 and had to pay additional $837.72

I'm wondering how to adjust refund received after I received a notice from the IRS for an error on 2015 filing and had to pay back a portion of my refund. My 2015 refund was $924 and had to pay back $837.72