Garage door insulating

I just used some polyiso foam board from lowes, it has foil on one side and nothing on the other. My garage gets a lot of afternoon sunlight so I was mainly trying to reduce heat gain from that, it’s still not sealed up perfectly around the edges.