Wake up earlier and do it in the morning when you’re not tired, and don’t do knee exercises until it heals.
Exercise only works if you make it a routine/lifestyle, like brushing your teeth. It’s one of the few things in life that is all positives with zero downsides.