Melt the butter in a large pan over a medium heat. Add the onions and garlic and cook until they soften. Add the flour and whisk until the mixture turns light brown, then slowly add the milk, whisking as you go. Add the salt, pepper, nutmeg and paprika.