Be sincere and take responsibility for your absence. Apologize to your supervisor or manager, explain the reason (if appropriate), and assure them it won’t happen again.