9 month old won’t sleep past 5am

Tegan

My sons sleep is driving me crazy. If I put him to sleep before 7pm he wakes constantly throughout the night. But if I put him down between 7 and 8 he’ll do 7 hours straight. My only problem is getting him to that time because he wakes at 5 and only naps twice a day. His last nap usually ends at 1 so I can’t exactly keep him awake that long because that’s crazy. Some days he’ll sleep till 6am but it’s rare. I’m extremely exhausted and have no idea what to do. Please help 😅