The words, ‘accept’ and ‘except’ are homophones which are often confused by English speakers. ‘Accept’ is a verb which means ‘to receive’ or ‘to agree’. Most of the time ‘except’ is used as a preposition which means ‘excluding’.
The following examples will make the usage clear.

ACCEPT (VERB)

EXCEPT (PREPOSITION)

Amit accepted the job offer.

I can come with you on all days except Sunday.

Sanjiv accepted the allegation that he had cheated.

All the athletes except Anjali finished the race.

He accepted the invitation to the party.

Everyone except Shantanu was invited to the party.