Many legitimate casinos offer the self exclusion function, and you can use this to remove yourself from the platform for a period of time. If the operator doesn’t offer such a feature in «My Account», you can contact customer support.