How to purge data older than 3months?

yes, i just want last one month’s data. I dont need the rest.