Cussing in workplace

Hello everyone! I've been walking with the Lord for a few years now and boy, has He been doing a work in my life! I've been working in the ER for the past few months and as you all know, ER is always chaotic and things go south all the time (not even mentioning the death we see) and a lot of my coworkers talk like sailors. I've never had an issue with cussing, but recently noticed that I too have incorporated the same language. I without even thinking started using profanity and my friend called me out on it (which I'm thankful for). What are useful tips to stop cussing? Like I know it sounds like a pretty straightforward question, but it's a hard habit to kick.