Can anyone tell me how and when to use have had & had?

I had a bad dream.
I have had a bad dream.

Are there any differences?

THKS!!!