Let's say you have 19/07/2021 in cell A2.
In another cell, for example B2:
=DATE(RIGHT(A2, 4), MID(A2, 4, 2), LEFT(A2, 4))
Format the cell with the formula as a date.
Remark: if you use comma as decimal separator, use semicolons ; instead of commas between the arguments of the functions.