The only thing to make you stop is you and your will power.
No magic pill or anything like that
If you want to stop you have to really want to then do it.
Not all wives try to shame or embarrass their husbands just the nasty ones that only care about themselves and not their husbands well being.
IMO if your wife is doing that tell her to stop. Stand up for yourself.