Our feet swell during the day, no matter the activity, so you should always shop for footwear in the afternoon. Avoid wearing tight-fitting shoes. Although they can loosen when trying them on, they should not cause you discomfort.
Keep in mind the activity you have planned for the shoes and ensure they provide you with enough support to avoid issues down the line.