If your coworkers are hostile to you, all you can do is take care of yourself while ensuring that your productivity doesn't suffer.
The following tips will help you with this.
If you are constantly receiving unreasonable requests, for example, to stay at work longer or take on an additional task, learn to refuse them - briefly and without unnecessary emotions. The word "no" will be enough.
This doesn’t mean you should hide under your desk – you can put on headphones, move to another place if you work in an open space, or refuse to talk – “Sorry, complicated task, can’t talk now.”
Whatever happens around you, focus on doing your job. If your boss has questions, you will be able to prove your diligence.
Even in a team with a toxic atmosphere, there will be people who share your values and attitude to work – and they will become your support.
Has it become completely unbearable? Remember why you came here - for a salary that is needed to pay a mortgage or education, for skills, experience, etc.
And remember - if you do not want and cannot continue to work in such a team, make a choice in your favor and quit your job.
For reference
A team is a group of people united by some common activity, work, study, or solution to a specific social problem.