Love?

I fall in love with people only to be crushed by them saying oh I am straight or something like that. Is there a way to avoid this?