You can go to Settings > realme Lab > Sleeping Capsule, long-press the time period, or click the more icon in the upper right corner to enter the edit time period page, select the unnecessary time period, and click the delete button at the bottom of the screen to delete it.
Note: Not all models support this feature, please refer to the actual usage.