Any solutions to hangovers from weed?

I sometimes use pot to sleep since I got insomnia but the next day I feel terrible and have no motivation to do anything