The past is past and (sometimes unfortunately) it cannot be changed. All we can do is imagine how it might be different now if things had gone differently.

To do this, to describe unreal situations in the past, we use the Third Conditional.
If I had known the party was for your birthday, I would have got you a present.
But nobody told me this was a…