The further away that you move away from your modem, the more likely you are to experience a weaker WiFi signal.
Try positioning your modem in a central area of your house away from obstacles such as walls or other home appliances.
For more tips, check out ‘How do I fix my slow Wifi’