The combination "I've got ... " does not work very well. Assuming you are talking about what generally happens, you can say "I get a headache after your classes" or "Your classes give me a headache".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.