Is this a bad habit?

I never used to do this but since I’ve been busy with work and school I’ve been fingering myself to relieve stress. I enjoy it in the moment and it makes me feel more relaxed but I always feel guilty after. Is this a bad habit?