How to do that player lost healt per 1< second when he touch other object?

get the position for the object then make a script for losing health 1 per second and make that SetActive(false) and make if statment if the player in the position where the object there SetActive(true) your losing health
and don’t forget to adding your loseig health script to a game object