The best way to respond to some homophobic remarks is simply to ignore them. This is especially true in cases where your safety could be compromised by speaking out or where there is little to be gained by confronting the speaker. There is, of course, a difference between ignoring homophobia and collaborating with homophobia. For instance, if you choose not to confront someone who tells a homophobic joke, you're ignoring. If you don't think the joke is funny and laugh at it anyway, you're collaborating.
Some homophobes are merely annoying.
Others are dangerous. Be aware of situations that have a high potential for violence. Your instincts are usually sound. Pay attention to them in deciding how to respond to offensive remarks. Homophobia can drain your energy and self-esteem.