Sleep schedule

I am 23M and for the last 2 years I didn't have strict sleep schedule. I would lie to sleep when I feel tired and get up without alarm. The thing is I wanted to try to follow sleep schedule cause maybe some day I'll need it. The thing is I always feel extremely tired and "bad" when I wake up. That always happened for me hence the random sleep schedule. Any advices?