The movie is from early 80's (or possibly late 70's).
It is a comedy western. It starts out where these guys are attending a VD clinic & the doctor talks about getting a hot needle. Guys are jumping out windows, etc during the treatment.
Not much to go on, but it was quite a good movie.