I didn't go to school but did/learned my lessons by myself at home. Are both 'did my lessons' and 'learned my lessons' good English in this context?