Please Help Me

I recently started playing terraria for the first time. I was loving it, and I'm now in early hardmode. The problem is that I have to fight the mech bosses now, and it's insanely hard. I feel like I've tried everything, and nothing works. I have full titanium armor, and a bunch of weapons. It's really frustrating and i'm thinking of quitting. Please give me any help you can.