You seem to be suffering from urethritis; your symptoms suggest this, so get urinalysis
and see a doctor. You can simultaneously get a pregnancy
test also. Urinary infections can cause irregular periods
but the cause should be diagnosed after a complete evaluation including hormonal
profiles, physical examination, sonogram and so on. You may need a urinary antibiotic and a urinary anti-spasmodic. Drink plenty of fluids. Take care.