For the folks who don't have a Dexcom and take their one dose of basal insulin at night, how do you know how much?

This can change frequently everyday depending on the amount of exercise in a day or how many carbs eaten throughout the day. So many factors which is the reason I ask.