Relation date

I have created an application to reserve cars. I have 4 vehicles, and I would like to ensure that when vehicle 1 is reserved, it cannot be reserved for the same period again.thanks