There are generally no dietary restrictions after getting inlays or onlays. However, it's advisable to avoid extremely hard or sticky foods immediately after the procedure to prevent any potential damage to the restoration.