If it is serious, it is best to go to the hospital for infusion as soon as possible. You don't have any detoxification drugs at home, so you can only drink more water and try to spit out the beans you have eaten.
The main symptoms of bean poisoning are digestive tract symptoms, namely vomiting, diarrhea, abdominal pain, headache and so on. Necessary symptomatic treatment should be adopted to recover well.