Unprotected sex with pulled out method just before and after period is very much safe and chance of pregnancy
is extremely rare.
Some women feel weakness after period or sex. Other reasons are pelvic or vaginal infection
Take balanced diet, drink more water, avoid stress and take adequate rest. Practice safe sex in future. Good luck.