I masturbate a lot, so it was inevitable that I would be caught doing it. Probably the first time was when I was very young. The story line was that a guy was not supposed to masturbate. No actual reason given. But one night I was really busy enjoying my penis right after going to bed. Maybe the bed was creaking or something. Any way my mother came into the room to check on us, my brother shared the room, and there I was enjoying some self abuse. She quietly left the room, I hurried and finished.
Then my father came into the room. He was obviously uncomfortable talking about penis and masturbation as something he probably did. Anyway, in a serious tone he said that I was not supposed to do masturbate. But no real reason given. The message I got was to be careful and not get caught.
Which I didn't until collage. There is no way that I could leave my cock alone for long periods so my roommate caught me in bed, cock in hand. But he was relieved that I thought jerking off was ok, and we would both jerk off after that. He had a girlfriend, so he either wasn't getting fucked a lot of she didn't do a good job.
After that I just decided that when I needed to, I would pump cum out of my cock, so was caught frequently. My wife was a pretty bad fuck so I jerked off a lot after fucking her. She caught me, but didn't really care. Better that I do it myself than ask her to participate.