Hobby farm

I have a small hobby farm and was wondering if I could deduct my costs for the livestock and I also sold some fresh eggs. If so, where do I put this when doing my own taxes?