i don't understand...

my boyfriend just told me that i treat him like shit. i'm having a hard time right now and i told him that i'm not in a very good mood and that i don't want to mess anything up between us and he proceeds to tell me that i treat him like shit. what do i do?