I have missed my period and my last one some days was there and some days wasnt there im getting the pain but nothing else im not sexually active?

See a Gynecologist. Missed periods and scanty bleeding without been sexual active may be due to several issues pre- menopause being one of them. The pain you are having is also concerning so please see your gynecologist for evaluation and care.