Carpet Install Questions

Believe it it not i left my carpet on a heated floor and left it out in the sun..... still has wrinkles.
Brought my seats in to have a proper upholster to install new seat covers and and we happen to talk about my carpet issue.
His solution he said "steam"....he uses it every time he has a wrinkle issue.
Havent tried it yet carpets still sitting in the sun lol.... but i guess it makes sense.