Idk what to do

I've been in a relationship for 7 months , lately nothing I do seems to make my boyfriend happy . He gets mad over the littlest things ever . And I'm to the point where I wanna give up . What can I do to change this or do you guys agree that it's time to give up