To overdo something is to do it to excess. For example, if you overdo the eating of ice cream, you might get a stomachache. The word is only a verb.
Overdue is only an adjective. It means undelivered or unpaid when due. If you fail to turn in an assignment at the deadline, it becomes overdue.