I had an abortion last year since then I've had messed up periods will start and last for a month or 2 then stop start again then it stops for months?

Not from abortion. Irregular periods are one of the most common problems obgyns treat. If this is one time problem it usually resolves on its own. If this is a recurring problem you should be evaluated. Infections ; hormonal changes can cause spotting. If there is a concern for pregnancy then do a home pregnancy test . There are many options available to help regulate the menstrual cycle. Schedule a visit.