Using simply "to:me" should do the trick most of the time, but that may give some false positives, so it is better to spell out your whole email address like this "to:firstname.lastname@example.org".
Or, in case you are using Gmail with your personal email address, "to:email@example.com"
If you use your Gmail as a unified inbox with multiple email accounts, try "to:firstname.lastname@example.org OR to:email@example.com"
The way to set it up:
Enter the search term (e.g. to:firstname.lastname@example.org) in the search box above your inbox
Click the little "sliders" icon on the right. That opens a window with advanced search options.
In the bottom right of that window, you have the option to "create filter". Click that, and you'll get options for what to do with emails that meet the criteria.
But a word of warning: It is easy to set up filters that give false positives or false negatives, especially while you're still learning. For new filters that you haven't tested yet, you may want to steer clear of the high-risk or non-reversible actions (like "delete it"), and stick to low-risk actions like categorizing, starring, or marking as read.