The decision is entirely up to you.
The help center says (emphasis added):
To accept an answer:
- Choose one answer that you believe is the best solution to your problem.
- To mark an answer as accepted, click on the check mark beside the answer to toggle it from greyed out to filled in.
- You may change which answer is accepted, or simply un-accept the answer, at any time.
Accepting an answer is not mandatory; do not feel compelled to accept the first answer you receive. Wait until you receive an answer that answers your question well.
It also says (emphasis added):
Accepting an answer is not meant to be a definitive and final statement indicating that the question has now been answered perfectly. It simply means that the author received an answer that worked for him or her personally, but not every user comes back to accept an answer, and of those who do, they may not change the accepted answer if a newer, better answer comes along later.
You don't have to accept an answer, or you can accept one using whatever criteria you want (oldest, most references, highest voted, best written, etc.). Either way, you can also ask the answer authors to try to improve their answer to make it stand out as the most acceptable.
Even if you choose to accept an answer, you may choose to wait before accepting in the hope that a better one will come along.