This is a medical question, and the honest answer is that it should be decided by the doctor treating the concussion rather than by a general rule.
Standard concussion management involves physical and cognitive rest first, and screens are usually among the things people are advised to limit while symptoms persist. Returning too early can make symptoms worse and prolong recovery.
Get cleared by a healthcare professional before you go back to gaming, and take the gradual return they recommend.