You are an electromagnetic being emitting a frequency. Only those things that are on the same frequency as the one you are emitting can come into your experience. Every single person, event, and circumstance in your day is telling you what frequency you are on.
If your day is not going well, stop and deliberately change your frequency. If your day is going swimmingly, keep doing what you are doing.