I have been on my period for three weeks now, how can I stop it?

Period. You need an exam, pregnancy test, lab tests for anemia, and hormones, and posible uterus ultrasound. Doctor will determine medication based on above work up.