1)I have a headache because of him talking too much. 2)I have a headache because of his talking too much. These are both possible, but I would say it this way: I have a headache from his incessant talking.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.