I think anyone who has flown any length of time has had a stuck mic, and people including myself have said things on the frequency that shouldn't be said. If you apologize immediately and it's inadvertent rather than hostility directed at the controller, there should be no reason anyone would give it a second thought or get anyone in trouble for it.