Can we write for example "We were waiting for you" in this way "We're waiting for you"? and if we can how to differentiate between the past and present in these sentences?
you're are only used in the present tense, as are
it's, I'm sure.
As @ColinFine states,
it's can also mean
he has and
it has, so it depends on context.