You should only wear a penis gag as long as you are comfortable doing so. While it might be used in BDSM activities, your partner should still be aware of your hard limits and constantly check in that you are able to breathe and are not too uncomfortable. As always, start by using a penis gag for short periods of time to get used to it and always start with a small size first.