How to revert back to older version of the contracts?

I'm having issues with the contracts version 5.x
I want to use contracts version 4.x
How can i revert back to the older version?

Hey, curious to know why you need to use 4.x?

Using 4.9.3 is only recommended if strictly needed. For such cases, you can look at this thread response, but generally, going with 5.0.0 is best practice.