Hi Sergio,
You can enable Always on to prevent your web app from being idled out due to inactivity. Navigate to your app service in the portal -- Configuration blade -- Always on -- On. You must have at least Basic SKU.
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP