Trying to create an ERC20 stablecoin

Well im trying to create a stablecoin pegged to my local currency and tbh i have no idea how to go about it ive tried researching but got nothing, is there a standard contract that i can use to create the token and then apply upgrades as time passes ?

sorry but im a total noob at coding i just had an idea in my head and what to make it reality