Hello @Yara_Munees welcome to the forum!
I am not a php developer but I did search this forum for previous times this question has been asked. Not many results were returned; the only one of substance that I saw was in post
where they advised:
Or, added to any particular script you like:
<?php header('Refresh: 10'); ?>
Try your own search terms and see if you get something better!
Best- Harley