Name the activity as a thing.
An infinitive used as a noun is capitalised and neuter: das Lesen. It can take an article or a preposition-plus-article combination.
Hinglish hintJab action noun ban jaaye to capital letter aur das: das Lesen, beim Lernen.
Recognise a noun slot
After the article das, lesen names an activity rather than conjugating a verb.
Beim Lernen mache ich Notizen.
Aha! See the common trap
Not thisBeim lernen mache ich Notizen.
Try thisBeim Lernen mache ich Notizen.
Beim includes a dative article. Lernen functions as a noun here and starts with a capital letter.
More examples, less guessing
Das Lesen hilft mir.Reading helps me.
Das Lesen macht Spaß.Reading is enjoyable.
Nach der Prüfung der Daten beginnt die Auswertung.The analysis begins after the data check.