You can continue to deduct your expenses even if your business then shows a loss. However, you do need to be aware that continuing to show a loss year after year can become a red flag to the IRS. There are a number of things to consider though.
For a more comprehensive discussion on this topic, see the information below. It was posted a number of years ago, but the information is still very valid.
https://ttlc.intuit.com/replies/3904839