Complex sentence: In an episode of Bo' Selecta! it was revealed he used to have a problem which caused him to shout out swear words at anyone, he has however broke the habit by thinking of women to take his mind off of it.
Split into simpler sentences: In an episode of "Bo' Selecta!", it was revealed that he used to have a problem, which caused him to shout out bad words at anyone. He has, however, broke the habit by thinking of women to take his mind off of it.