After _______ all the day, her head was aching in the evening.

After _______ all the day, her head was aching in the evening.

Explanation

The phrase "After studying all the day" correctly uses the gerund (verb + ing) form after "after."

It shows an action completed before another (her head was aching).