Help I’m worried

I’m 14 and I masturbate but I also go to church so I feel realllllly bad masturbating. I’m always anxious and stressed and worried about everything so sometimes it relieves a lot of that stress for me. But I’m scared, I don’t want to offend my religion or anything it just helps. Is it ok? 😭😭😭