I just bought a new bike. I ride about 3 times a week. The last 2 times I've taken my bike out the front tire has been completely flat. I put air in it the first time it happened and went for a 10mi ride and the tire was still fine. Then next morning it was flat again (same thing the 2nd time).. I recently got into riding and I have no clue about the maintenance and fixing my bike. Any help would be greatly appreciated.
It sounds like you have a slow leak, either from the valve or from a tiny puncture in the tube, like Batman mentioned in the comments.
An easy way to fix this is by simply changing the tube in the front tire. If you've never done this before, this video may help or you can take your bike into your local bike shop and have someone fix it for you. If you choose the latter of the two, ask if they can teach you how to change out the tube, since this is an invaluable skill to have.