Troubleshooting Deadlocks in SQL Server

Ask for advice on identifying and resolving deadlocks in SQL Server, including using the SQL Profiler or Extended Events to capture deadlock graphs.

This is a very good explanation and give you advice how to solve them:

How to Create Deadlocks and Troubleshoot Them with sp_BlitzLock