resist
v.v. to stop yourself from doing something that you want to do, or to fight against something that is happening. You use this when you try to stay strong against a temptation or a change.
v. to strive against or oppose something; to refrain from yielding to a desire or external pressure. Transitive when taking a direct object, though it can function intransitively in specific contexts.
I tried to resist the urge to eat the chocolate.
Many employees began to resist the new office rules because they felt the changes were unnecessary.
The local community continues to resist the development of the parkland, arguing that the environmental cost far outweighs any potential economic benefit to the town.
From Middle English resisten, from Middle French resister and Old French resistre, and their source, Latin resistere, from re- + sistere (“cause to stand”).
The verb is typically transitive and takes a direct object, often a noun or a gerund (-ing form).
I resisted to buy the shoes.I resisted buying the shoes.When followed by another action, resist takes the gerund (-ing) form, not the infinitive.